Date: Tue, 26 Jul 2016 19:39:44 +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: r419149 - head/net/py-urllib3 Message-ID: <201607261939.u6QJdiKE029722@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivierd Date: Tue Jul 26 19:39:43 2016 New Revision: 419149 URL: https://svnweb.freebsd.org/changeset/ports/419149 Log: Make security/py-certifi conditional, because this module is already included in Python >= 3.4 Reported by: demon@ (private email) Modified: head/net/py-urllib3/Makefile Modified: head/net/py-urllib3/Makefile ============================================================================== --- head/net/py-urllib3/Makefile Tue Jul 26 19:35:03 2016 (r419148) +++ head/net/py-urllib3/Makefile Tue Jul 26 19:39:43 2016 (r419149) @@ -13,8 +13,7 @@ COMMENT= Enhance HTTP Python's standard 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 \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks \ ${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.4.1:net/py-ndg_httpsclient USES= python @@ -23,6 +22,10 @@ NO_ARCH= yes .include <bsd.port.pre.mk> +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi +.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?201607261939.u6QJdiKE029722>