aboutsummaryrefslogtreecommitdiff
path: root/net/py-urllib3
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-05-26 16:47:02 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-05-26 16:47:02 +0000
commit1b85bc93327fe20e04dacd558e4b68b8e87cab40 (patch)
tree7229e877adf880a70b7dabb3af7fa6c66661b721 /net/py-urllib3
parent95870264a95e112dd40286515a64b619d7529491 (diff)
downloadports-1b85bc93327fe20e04dacd558e4b68b8e87cab40.tar.gz
ports-1b85bc93327fe20e04dacd558e4b68b8e87cab40.zip
Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva
Notes
Notes: svn path=/head/; revision=387491
Diffstat (limited to 'net/py-urllib3')
-rw-r--r--net/py-urllib3/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile
index 65c5d40a2284..5e8580c0fc19 100644
--- a/net/py-urllib3/Makefile
+++ b/net/py-urllib3/Makefile
@@ -19,12 +19,12 @@ USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
# ndg_httpclient is only available for Python 2
-.if ${PYTHON_REL} < 300
+.if ${PYTHON_REL} < 3000
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.3.3:${PORTSDIR}/net/py-ndg_httpsclient
.endif
post-extract:
-.if ${PYTHON_REL} >= 300
+.if ${PYTHON_REL} >= 3000
@${RM} ${WRKSRC}/urllib3/contrib/pyopenssl.py
.endif