summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2014-08-29 20:57:09 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2014-08-29 20:57:09 +0000
commite9d609b1068fadbb9f671ea24139d7768250923d (patch)
tree502d87441ef532432f770693b15452e7ad7a42dc /net
parentEnable shared libbfd library and use it in devel/fnccheck to fix a linking (diff)
- Convert my own Python ports to USES= python
Notes
Notes: svn path=/head/; revision=366562
Diffstat (limited to 'net')
-rw-r--r--net/py-ndg_httpsclient/Makefile5
-rw-r--r--net/py-urllib3/Makefile5
2 files changed, 4 insertions, 6 deletions
diff --git a/net/py-ndg_httpsclient/Makefile b/net/py-ndg_httpsclient/Makefile
index f30516ff6aa6..43504bb913ca 100644
--- a/net/py-ndg_httpsclient/Makefile
+++ b/net/py-ndg_httpsclient/Makefile
@@ -14,8 +14,7 @@ COMMENT= Enhance HTTPS support for httplib and urllib2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:${PORTSDIR}/security/py-openssl \
${PYTHON_PKGNAMEPREFIX}asn1>=0.1.4:${PORTSDIR}/devel/py-asn1
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile
index 49c6849075b8..dd1a33a4021b 100644
--- a/net/py-urllib3/Makefile
+++ b/net/py-urllib3/Makefile
@@ -13,9 +13,8 @@ COMMENT= Enhance HTTP Python's standard library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>