svn commit: r417612 - head/net/py-urllib3

Olivier Duchateau olivierd at FreeBSD.org
Sun Jun 26 20:06:03 UTC 2016


Author: olivierd
Date: Sun Jun 26 20:06:02 2016
New Revision: 417612
URL: https://svnweb.freebsd.org/changeset/ports/417612

Log:
  net/py-ndg_httpsclient is fully compatible with Python2 and Python3 (r417571)

Modified:
  head/net/py-urllib3/Makefile

Modified: head/net/py-urllib3/Makefile
==============================================================================
--- head/net/py-urllib3/Makefile	Sun Jun 26 19:19:27 2016	(r417611)
+++ head/net/py-urllib3/Makefile	Sun Jun 26 20:06:02 2016	(r417612)
@@ -14,7 +14,8 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi \
-	${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks
+	${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks \
+	${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.4.1:net/py-ndg_httpsclient
 
 USES=	python
 USE_PYTHON=	distutils autoplist
@@ -22,11 +23,6 @@ NO_ARCH=	yes
 
 .include <bsd.port.pre.mk>
 
-# ndg_httpclient is only available for Python 2
-.if ${PYTHON_REL} < 3000
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.4.0:net/py-ndg_httpsclient
-.endif
-
 post-extract:
 .if ${PYTHON_REL} >= 3000
 	@${RM} ${WRKSRC}/urllib3/contrib/pyopenssl.py


More information about the svn-ports-head mailing list