aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-pyweblib
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2017-08-26 01:56:42 +0800
committerbsam <bsam@FreeBSD.org>2017-08-26 01:56:42 +0800
commitaf3db98594eb3f99c7afdbd1ff15ac0da9441d9b (patch)
tree61f45551b9528d3cb6a5d626ae9d098803fc85f8 /www/py-pyweblib
parent0c1581d604dec7cff2fec5c6b7b5db131e5435bb (diff)
downloadfreebsd-ports-gnome-af3db98594eb3f99c7afdbd1ff15ac0da9441d9b.tar.gz
freebsd-ports-gnome-af3db98594eb3f99c7afdbd1ff15ac0da9441d9b.tar.zst
freebsd-ports-gnome-af3db98594eb3f99c7afdbd1ff15ac0da9441d9b.zip
www/pyweblib -> www/py-pyweblib: Update to version 1.3.13 and rename (PyPI scheme).
Diffstat (limited to 'www/py-pyweblib')
-rw-r--r--www/py-pyweblib/Makefile32
-rw-r--r--www/py-pyweblib/distinfo3
-rw-r--r--www/py-pyweblib/pkg-descr3
3 files changed, 38 insertions, 0 deletions
diff --git a/www/py-pyweblib/Makefile b/www/py-pyweblib/Makefile
new file mode 100644
index 000000000000..1d5bf9420d57
--- /dev/null
+++ b/www/py-pyweblib/Makefile
@@ -0,0 +1,32 @@
+# Created by: Oddbjorn Steffensen <oddbjorn@tricknology.org>
+# $FreeBSD$
+
+PORTNAME= pyweblib
+PORTVERSION= 1.3.13
+CATEGORIES= www
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= bsam@FreeBSD.org
+COMMENT= Yet another web programming framework for Python
+
+LICENSE= GPLv2
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+PORTDOCS= pyweblib.forms.html pyweblib.helper.html \
+ pyweblib.html pyweblib.httphelper.html \
+ pyweblib.session.html pyweblib.sslenv.html
+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
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/htdocs/pydoc/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/www/py-pyweblib/distinfo b/www/py-pyweblib/distinfo
new file mode 100644
index 000000000000..d6d83304c2ed
--- /dev/null
+++ b/www/py-pyweblib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503682508
+SHA256 (pyweblib-1.3.13.tar.gz) = 6fc9f99c468130aab4174a7e32a67d982431508cba97fa6bcf091aa5735373aa
+SIZE (pyweblib-1.3.13.tar.gz) = 36880
diff --git a/www/py-pyweblib/pkg-descr b/www/py-pyweblib/pkg-descr
new file mode 100644
index 000000000000..2a42c170c7c9
--- /dev/null
+++ b/www/py-pyweblib/pkg-descr
@@ -0,0 +1,3 @@
+PyWebLib is yet another web programming framework for Python.
+
+WWW: http://www.stroeder.com/pylib/PyWebLib/