From 287cc4e0d6b3660becce4af88503724d6632cdb7 Mon Sep 17 00:00:00 2001 From: bsam Date: Mon, 22 Sep 2014 17:13:20 +0000 Subject: www/pyweblib: update to version 1.3.11 add more . update to version 1.3.11; . switch to USES=python syntax; . adopt USE_PYTHON=autoplist; . use PORTEXAMPLES wildcards; . simplify and remove pkg-plist. --- www/pyweblib/Makefile | 9 +++++---- www/pyweblib/distinfo | 4 ++-- www/pyweblib/pkg-plist | 25 ------------------------- 3 files changed, 7 insertions(+), 31 deletions(-) delete mode 100644 www/pyweblib/pkg-plist (limited to 'www') diff --git a/www/pyweblib/Makefile b/www/pyweblib/Makefile index 5024624e97cd..8e6be18285d0 100644 --- a/www/pyweblib/Makefile +++ b/www/pyweblib/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pyweblib -PORTVERSION= 1.3.10 -PORTREVISION= 1 +PORTVERSION= 1.3.11 CATEGORIES= www MASTER_SITES= http://www.stroeder.com/pylib/PyWebLib/download/ @@ -12,8 +11,8 @@ COMMENT= Yet another web programming framework for Python LICENSE= GPLv2 -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= autoplist distutils PORTDOCS= pyweblib.forms.html pyweblib.helper.html \ pyweblib.html pyweblib.httphelper.html \ @@ -22,6 +21,8 @@ EXAMPLES= *.py OPTIONS_DEFINE= DOCS +PORTEXAMPLES= * + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/cgi-bin ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/cgi-bin/${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/cgi-bin diff --git a/www/pyweblib/distinfo b/www/pyweblib/distinfo index 35fdc1ea9880..ddbd5e32e5c8 100644 --- a/www/pyweblib/distinfo +++ b/www/pyweblib/distinfo @@ -1,2 +1,2 @@ -SHA256 (pyweblib-1.3.10.tar.gz) = cfb7e24a2f9662b150dec3db2bc345875a5321b22e9d95b25d92940020f8e7ec -SIZE (pyweblib-1.3.10.tar.gz) = 33479 +SHA256 (pyweblib-1.3.11.tar.gz) = 3a2d59be3338fae02ecd1e48fc1533a3a147d7fdfd2fe2a777a111a3058c1784 +SIZE (pyweblib-1.3.11.tar.gz) = 33337 diff --git a/www/pyweblib/pkg-plist b/www/pyweblib/pkg-plist deleted file mode 100644 index 192707c9f65e..000000000000 --- a/www/pyweblib/pkg-plist +++ /dev/null @@ -1,25 +0,0 @@ -%%PYTHON_SITELIBDIR%%/pyweblib/__init__.py -%%PYTHON_SITELIBDIR%%/pyweblib/__init__.pyc -%%PYTHON_SITELIBDIR%%/pyweblib/__init__.pyo -%%PYTHON_SITELIBDIR%%/pyweblib/forms.py -%%PYTHON_SITELIBDIR%%/pyweblib/forms.pyc -%%PYTHON_SITELIBDIR%%/pyweblib/forms.pyo -%%PYTHON_SITELIBDIR%%/pyweblib/helper.py -%%PYTHON_SITELIBDIR%%/pyweblib/helper.pyc -%%PYTHON_SITELIBDIR%%/pyweblib/helper.pyo -%%PYTHON_SITELIBDIR%%/pyweblib/httphelper.py -%%PYTHON_SITELIBDIR%%/pyweblib/httphelper.pyc -%%PYTHON_SITELIBDIR%%/pyweblib/httphelper.pyo -%%PYTHON_SITELIBDIR%%/pyweblib/session.py -%%PYTHON_SITELIBDIR%%/pyweblib/session.pyc -%%PYTHON_SITELIBDIR%%/pyweblib/session.pyo -%%PYTHON_SITELIBDIR%%/pyweblib/sslenv.py -%%PYTHON_SITELIBDIR%%/pyweblib/sslenv.pyc -%%PYTHON_SITELIBDIR%%/pyweblib/sslenv.pyo -@dirrm %%PYTHON_SITELIBDIR%%/pyweblib -@comment - -@comment --- some examples here --- -%%EXAMPLESDIR%%/cgi-bin/test-forms.py -%%EXAMPLESDIR%%/cgi-bin/test-session.py -@dirrm %%EXAMPLESDIR%%/cgi-bin -@dirrm %%EXAMPLESDIR%% -- cgit