[100769] trunk/dports/python/py-weblib/Portfile
jmr at macports.org
jmr at macports.org
Sun Dec 23 14:46:22 PST 2012
Revision: 100769
https://trac.macports.org/changeset/100769
Author: jmr at macports.org
Date: 2012-12-23 14:46:22 -0800 (Sun, 23 Dec 2012)
Log Message:
-----------
py-weblib: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-weblib/Portfile
Modified: trunk/dports/python/py-weblib/Portfile
===================================================================
--- trunk/dports/python/py-weblib/Portfile 2012-12-23 22:02:29 UTC (rev 100768)
+++ trunk/dports/python/py-weblib/Portfile 2012-12-23 22:46:22 UTC (rev 100769)
@@ -1,12 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-weblib
version 1.3.4
categories python www
+license GPL-2
platforms darwin freebsd
+supported_archs noarch
maintainers nomaintainer
description Python web application library
long_description Python web application library handling FORM input, \
@@ -14,19 +16,23 @@
basic HTTP functions.
homepage http://www.stroeder.com/pylib/PyWebLib
-master_sites ${homepage}/download/
+master_sites ${homepage}/download/ http://distfiles.macports.org/python
distname pyweblib-${version}
checksums md5 762492fb70db7d044e7dc2a420c4f075 \
sha1 c2839936cc272a5299a5e196bacf536d06b3d7a3 \
rmd160 4c219f7c5ecacb43324ff86ccd25f3712c685ec9
-post-destroot {
- xinstall -m 644 ${worksrcpath}/CHANGES \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/htdocs/pydoc pyweblib.forms.html \
- pyweblib.helper.html pyweblib.html pyweblib.httphelper.html \
- pyweblib.session.html pyweblib.sslenv.html \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/cgi-bin test-forms.py \
- test-session.py ${destroot}${prefix}/share/doc/${name}/examples
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 ${worksrcpath}/CHANGES \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath}/htdocs/pydoc pyweblib.forms.html \
+ pyweblib.helper.html pyweblib.html pyweblib.httphelper.html \
+ pyweblib.session.html pyweblib.sslenv.html \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath}/cgi-bin test-forms.py \
+ test-session.py ${destroot}${prefix}/share/doc/${subport}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121223/e2f18e90/attachment.html>
More information about the macports-changes
mailing list