[100768] trunk/dports/python/py-webstack/Portfile

jmr at macports.org jmr at macports.org
Sun Dec 23 14:02:29 PST 2012


Revision: 100768
          https://trac.macports.org/changeset/100768
Author:   jmr at macports.org
Date:     2012-12-23 14:02:29 -0800 (Sun, 23 Dec 2012)
Log Message:
-----------
py-webstack: use unified portgroup, license, noarch

Modified Paths:
--------------
    trunk/dports/python/py-webstack/Portfile

Modified: trunk/dports/python/py-webstack/Portfile
===================================================================
--- trunk/dports/python/py-webstack/Portfile	2012-12-23 21:46:25 UTC (rev 100767)
+++ trunk/dports/python/py-webstack/Portfile	2012-12-23 22:02:29 UTC (rev 100768)
@@ -1,22 +1,29 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-webstack
 version			1.0
 categories		python www
+license			LGPL-2.1+
 platforms		darwin
+supported_archs	noarch
 maintainers		nomaintainer
 description		python module providing a simple, common API for web applications
 long_description	${description}
 
 homepage		http://www.boddie.org.uk/python/WebStack.html
-master_sites	http://www.boddie.org.uk/python/downloads/
+master_sites	http://www.boddie.org.uk/python/downloads/ \
+		http://pypi.python.org/packages/source/W/WebStack/
 distname		WebStack-${version}
 checksums		md5 0bc82ce99ca08ed8686529bb371ec33e
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} README.txt \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} README.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121223/d78255d8/attachment.html>


More information about the macports-changes mailing list