svn commit: r442824 - in head/dns: . py-idna py3-idna

Kubilay Kocak koobs at FreeBSD.org
Wed Jun 7 10:34:31 UTC 2017


Author: koobs
Date: Wed Jun  7 10:34:30 2017
New Revision: 442824
URL: https://svnweb.freebsd.org/changeset/ports/442824

Log:
  [NEW] dns/py3-idna: Create Python 3.x port of py-idna
  
  The latest www/py-requests update [1] unbundled its dependencies, now
  requiring chardet, idna, urllib3 and certifi from ports.
  
  www/py3-requests port was not tested during QA, which would have highlighted
  the need for many new py3-* ports (and their dependencies).
  
  This change creates one of those ports.
  
  [1] https://svnweb.freebsd.org/changeset/ports/442565
  
  PR:	219833

Added:
  head/dns/py3-idna/
     - copied from r442817, head/dns/py-idna/
Modified:
  head/dns/Makefile
  head/dns/py-idna/Makefile
  head/dns/py3-idna/Makefile

Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile	Wed Jun  7 10:29:30 2017	(r442823)
+++ head/dns/Makefile	Wed Jun  7 10:34:30 2017	(r442824)
@@ -186,6 +186,7 @@
     SUBDIR += py-tldextract
     SUBDIR += py-twistedNames
     SUBDIR += py3-dnspython
+    SUBDIR += py3-idna
     SUBDIR += radns
     SUBDIR += rbldnsd
     SUBDIR += rbllookup

Modified: head/dns/py-idna/Makefile
==============================================================================
--- head/dns/py-idna/Makefile	Wed Jun  7 10:29:30 2017	(r442823)
+++ head/dns/py-idna/Makefile	Wed Jun  7 10:34:30 2017	(r442824)
@@ -10,7 +10,7 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	koobs at FreeBSD.org
 COMMENT=	Internationalized Domain Names in Applications (IDNA)
 
-USES=		python	# Actually, 2.6-2.7,3.3-3.6
+USES?=		python	# Actually, 2.6-2.7,3.3-3.6
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes

Modified: head/dns/py3-idna/Makefile
==============================================================================
--- head/dns/py-idna/Makefile	Wed Jun  7 04:06:33 2017	(r442817)
+++ head/dns/py3-idna/Makefile	Wed Jun  7 10:34:30 2017	(r442824)
@@ -1,21 +1,8 @@
 # Created by: Kubilay Kocak <koobs at FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	idna
-PORTVERSION=	2.5
-CATEGORIES=	dns python
-MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+MASTERDIR=      ${.CURDIR}/../py-idna
 
-MAINTAINER=	koobs at FreeBSD.org
-COMMENT=	Internationalized Domain Names in Applications (IDNA)
+USES=   python:3.3+
 
-USES=		python	# Actually, 2.6-2.7,3.3-3.6
-USE_PYTHON=	autoplist concurrent distutils
-
-NO_ARCH=	yes
-
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"


More information about the svn-ports-all mailing list