Bug 233824

Summary: [NEW PORT] textproc/py-precis_i18n: Internationalized usernames and passwords
Product: Ports & Packages Reporter: Goran Mekić <meka>
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me CC: meka, python, rm
Priority: --- Keywords: feature, needs-qa
Version: LatestFlags: koobs: maintainer-feedback+
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 233826    
Attachments:
Description Flags
py-precis_i18n.shar
none
py-precis_i18n.shar none

Description Goran Mekić 2018-12-06 12:01:19 UTC
Created attachment 199888 [details]
py-precis_i18n.shar
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2018-12-07 10:50:20 UTC
Review items:

- textproc is probably a better primary category for this port, leaving devel and python as secondary categories.

- Add LICENSE_FILE when one is packaged with the distribution file. This one contains a LICENSE.txt file. 

- Specify supported versions as accurately as possible without being incorrect. setup.py:classifiers specifies 3.3+ (3.3-3.6) as the supported/required Python versions, port does not specify anything (in particular leaving open 2.x as a supported version).

- Set TEST_DEPENDS and create a test (do-test:) target when a Python package supports running tests. This package packages tests and has integrated support for the python setup.py test command to run them, so add:

do-test:
  @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
Comment 2 Goran Mekić 2018-12-11 15:55:43 UTC
Created attachment 200043 [details]
py-precis_i18n.shar

I tested in an empty jail and I didn't have to set anything in TEST_DEPENDS for "make test" to work. Thanks for the guide!
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-01-26 11:02:15 UTC
A commit references this bug:

Author: rm
Date: Sat Jan 26 11:02:06 UTC 2019
New revision: 491265
URL: https://svnweb.freebsd.org/changeset/ports/491265

Log:
  The PRECIS framework makes internationalized user names and passwords safer
  for use by applications. PRECIS profiles transform unicode strings into a
  canonical form, suitable for comparison.

  WWW: https://github.com/byllyfish/precis_i18n

  PR:		233824
  Submitted by:	Goran Meki? <meka@tilda.center>

Changes:
  head/textproc/Makefile
  head/textproc/py-precis_i18n/
  head/textproc/py-precis_i18n/Makefile
  head/textproc/py-precis_i18n/distinfo
  head/textproc/py-precis_i18n/pkg-descr
Comment 4 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2019-01-26 11:03:06 UTC
New port added. Thank you!

PS. python range changed to include python 3.7