aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2014-10-18 21:18:19 +0800
committerrm <rm@FreeBSD.org>2014-10-18 21:18:19 +0800
commit9e0b99154212f52859daed0e9d837adf8a34c818 (patch)
tree951d7c58fe985b0d1079b831aa32b9123650b1e5
parent99d968042d415dd413435b344198b2f435bc17d3 (diff)
downloadfreebsd-ports-gnome-9e0b99154212f52859daed0e9d837adf8a34c818.tar.gz
freebsd-ports-gnome-9e0b99154212f52859daed0e9d837adf8a34c818.tar.zst
freebsd-ports-gnome-9e0b99154212f52859daed0e9d837adf8a34c818.zip
Convert to USES=python
Approved by: portmgr (blanket)
-rw-r--r--www/py-WebFlash/Makefile5
-rw-r--r--www/py-WebFlash/pkg-descr2
-rw-r--r--www/py-WebTest/Makefile5
-rw-r--r--www/py-WebTest/pkg-plist36
-rw-r--r--www/py-aiohttp/Makefile5
5 files changed, 7 insertions, 46 deletions
diff --git a/www/py-WebFlash/Makefile b/www/py-WebFlash/Makefile
index e65a16200493..4f0a0ae31b23 100644
--- a/www/py-WebFlash/Makefile
+++ b/www/py-WebFlash/Makefile
@@ -11,8 +11,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wenheping@gmail.com
COMMENT= Library to display flash messages in python web applications
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/www/py-WebFlash/pkg-descr b/www/py-WebFlash/pkg-descr
index 0779ce25a2f9..908243135007 100644
--- a/www/py-WebFlash/pkg-descr
+++ b/www/py-WebFlash/pkg-descr
@@ -5,4 +5,4 @@ number has been stolen, ...). One important characteristic they
must provide is the ability to survive a redirect (ie: display the
message in a page after being redirected from a form submission).
-WWW: http://python-rum.org/wiki/WebFlash
+WWW: http://python-rum.org/wiki/WebFlash
diff --git a/www/py-WebTest/Makefile b/www/py-WebTest/Makefile
index 479e61dd5c7f..bb108a86ffec 100644
--- a/www/py-WebTest/Makefile
+++ b/www/py-WebTest/Makefile
@@ -21,8 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
${PYTHON_PKGNAMEPREFIX}waitress>0:${PORTSDIR}/www/py-waitress \
${PYTHON_PKGNAMEPREFIX}webob>=1.2:${PORTSDIR}/www/py-webob
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python zip
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/www/py-WebTest/pkg-plist b/www/py-WebTest/pkg-plist
deleted file mode 100644
index f88b63909a80..000000000000
--- a/www/py-WebTest/pkg-plist
+++ /dev/null
@@ -1,36 +0,0 @@
-%%PYTHON_SITELIBDIR%%/webtest/__init__.py
-%%PYTHON_SITELIBDIR%%/webtest/__init__.pyc
-%%PYTHON_SITELIBDIR%%/webtest/__init__.pyo
-%%PYTHON_SITELIBDIR%%/webtest/app.py
-%%PYTHON_SITELIBDIR%%/webtest/app.pyc
-%%PYTHON_SITELIBDIR%%/webtest/app.pyo
-%%PYTHON_SITELIBDIR%%/webtest/compat.py
-%%PYTHON_SITELIBDIR%%/webtest/compat.pyc
-%%PYTHON_SITELIBDIR%%/webtest/compat.pyo
-%%PYTHON_SITELIBDIR%%/webtest/debugapp.py
-%%PYTHON_SITELIBDIR%%/webtest/debugapp.pyc
-%%PYTHON_SITELIBDIR%%/webtest/debugapp.pyo
-%%PYTHON_SITELIBDIR%%/webtest/ext.py
-%%PYTHON_SITELIBDIR%%/webtest/ext.pyc
-%%PYTHON_SITELIBDIR%%/webtest/ext.pyo
-%%PYTHON_SITELIBDIR%%/webtest/forms.py
-%%PYTHON_SITELIBDIR%%/webtest/forms.pyc
-%%PYTHON_SITELIBDIR%%/webtest/forms.pyo
-%%PYTHON_SITELIBDIR%%/webtest/http.py
-%%PYTHON_SITELIBDIR%%/webtest/http.pyc
-%%PYTHON_SITELIBDIR%%/webtest/http.pyo
-%%PYTHON_SITELIBDIR%%/webtest/lint.py
-%%PYTHON_SITELIBDIR%%/webtest/lint.pyc
-%%PYTHON_SITELIBDIR%%/webtest/lint.pyo
-%%PYTHON_SITELIBDIR%%/webtest/response.py
-%%PYTHON_SITELIBDIR%%/webtest/response.pyc
-%%PYTHON_SITELIBDIR%%/webtest/response.pyo
-%%PYTHON_SITELIBDIR%%/webtest/sel.py
-%%PYTHON_SITELIBDIR%%/webtest/sel.pyc
-%%PYTHON_SITELIBDIR%%/webtest/sel.pyo
-%%PYTHON_SITELIBDIR%%/webtest/utils.py
-%%PYTHON_SITELIBDIR%%/webtest/utils.pyc
-%%PYTHON_SITELIBDIR%%/webtest/utils.pyo
-@dirrmtry %%PYTHON_SITELIBDIR%%/webtest
-@dirrmtry %%PYTHON_SITELIBDIR%%
-@dirrmtry %%PYTHON_LIBDIR%%
diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile
index 7d2b9c989a29..10c61bf02d00 100644
--- a/www/py-aiohttp/Makefile
+++ b/www/py-aiohttp/Makefile
@@ -22,9 +22,8 @@ OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools for test suite
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
-USE_PYTHON= 3.3+
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:3.3+
+USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>