Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2016 20:06:02 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417612 - head/net/py-urllib3
Message-ID:  <201606262006.u5QK621S042533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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