From b7118810a56e81065aba4b48c76e0b6757a574c6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 26 Feb 2014 07:21:43 +0000 Subject: [PATCH] - Stage support - Support autoplist - Bump PORTREV --- www/py-webunit/Makefile | 10 ++-------- www/py-webunit/pkg-plist | 31 ------------------------------- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 www/py-webunit/pkg-plist diff --git a/www/py-webunit/Makefile b/www/py-webunit/Makefile index ba17d032cfe7..2ed46646e96d 100644 --- a/www/py-webunit/Makefile +++ b/www/py-webunit/Makefile @@ -3,6 +3,7 @@ PORTNAME= webunit PORTVERSION= 1.3.10 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,15 +13,8 @@ COMMENT= Unit test your websites with code that acts like a web browser USE_PYTHON= yes USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -.if !defined(NOPORTEXAMPLES) -NO_STAGE= yes -post-install: - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/run_tests ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/demo ${EXAMPLESDIR} -.endif - .include diff --git a/www/py-webunit/pkg-plist b/www/py-webunit/pkg-plist deleted file mode 100644 index e1e613554fb0..000000000000 --- a/www/py-webunit/pkg-plist +++ /dev/null @@ -1,31 +0,0 @@ -%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.py -%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.pyc -%%PYTHON_SITELIBDIR%%/webunit/HTMLParser.pyo -%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.py -%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.pyc -%%PYTHON_SITELIBDIR%%/webunit/IMGSucker.pyo -%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.py -%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.pyc -%%PYTHON_SITELIBDIR%%/webunit/SimpleDOM.pyo -%%PYTHON_SITELIBDIR%%/webunit/__init__.py -%%PYTHON_SITELIBDIR%%/webunit/__init__.pyc -%%PYTHON_SITELIBDIR%%/webunit/__init__.pyo -%%PYTHON_SITELIBDIR%%/webunit/config.py -%%PYTHON_SITELIBDIR%%/webunit/config.pyc -%%PYTHON_SITELIBDIR%%/webunit/config.pyo -%%PYTHON_SITELIBDIR%%/webunit/cookie.py -%%PYTHON_SITELIBDIR%%/webunit/cookie.pyc -%%PYTHON_SITELIBDIR%%/webunit/cookie.pyo -%%PYTHON_SITELIBDIR%%/webunit/utility.py -%%PYTHON_SITELIBDIR%%/webunit/utility.pyc -%%PYTHON_SITELIBDIR%%/webunit/utility.pyo -%%PYTHON_SITELIBDIR%%/webunit/webunittest.py -%%PYTHON_SITELIBDIR%%/webunit/webunittest.pyc -%%PYTHON_SITELIBDIR%%/webunit/webunittest.pyo -@dirrm %%PYTHON_SITELIBDIR%%/webunit -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/run_tests -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo/__init__.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo/google.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo/python_org.py -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/demo -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%