Bug 249436

Summary: New Port: www/py-fqdn: RFC compliant FQDN validation
Product: Ports & Packages Reporter: James <whitejv81>
Component: Individual Port(s)Assignee: Dan Langille <dvl>
Status: Closed FIXED    
Severity: Affects Only Me CC: dvl
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Shar file none

Description James 2020-09-18 15:17:20 UTC
Created attachment 218059 [details]
Shar file

New port of py-fqdn.
Comment 1 Dan Langille freebsd_committer freebsd_triage 2020-09-21 20:34:23 UTC
offline communication reveals:

The cached-property decorator/functionality was implemented in Python 3.8 such that the external dependency is only required where PY_FLAVOR <= py37.

I'll see about replacing:

y27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.3.0:devel/py-cached-property@${PY_FLAVOR}
py34_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.3.0:devel/py-cached-property@${PY_FLAVOR}
py35_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.3.0:devel/py-cached-property@${PY_FLAVOR}
py36_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.3.0:devel/py-cached-property@${PY_FLAVOR}
py37_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.3.0:devel/py-cached-property@${PY_FLAVOR}

with:

.if ${PYTHON_REL} < 3800
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.3.0:devel/py-cached-property@${PY_FLAVOR}
.endif
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-09-23 14:34:30 UTC
A commit references this bug:

Author: dvl
Date: Wed Sep 23 14:34:24 UTC 2020
New revision: 549730
URL: https://svnweb.freebsd.org/changeset/ports/549730

Log:
  Add www/py-fqdn which validates a fully-qualified domain name (FQDN), in full
  compliance with RFC 1035

  PR:		249436
  Submitted by:	James <whitejv81@gmail.com>

Changes:
  head/www/Makefile
  head/www/py-fqdn/
  head/www/py-fqdn/Makefile
  head/www/py-fqdn/distinfo
  head/www/py-fqdn/pkg-descr
Comment 3 Dan Langille freebsd_committer freebsd_triage 2020-09-23 14:34:59 UTC
committed with some modifications as discussed