Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2017 10:34:30 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442824 - in head/dns: . py-idna py3-idna
Message-ID:  <201706071034.v57AYUZR032434@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	idna
-PORTVERSION=	2.5
-CATEGORIES=	dns python
-MASTER_SITES=	CHEESESHOP
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+MASTERDIR=      ${.CURDIR}/../py-idna
 
-MAINTAINER=	koobs@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706071034.v57AYUZR032434>