[83833] trunk/dports/python

jmr at macports.org jmr at macports.org
Sun Sep 11 09:07:03 PDT 2011


Revision: 83833
          http://trac.macports.org/changeset/83833
Author:   jmr at macports.org
Date:     2011-09-11 09:06:59 -0700 (Sun, 11 Sep 2011)
Log Message:
-----------
unify py*-urwid, set license

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

Removed Paths:
-------------
    trunk/dports/python/py26-urwid/

Modified: trunk/dports/python/py-urwid/Portfile
===================================================================
--- trunk/dports/python/py-urwid/Portfile	2011-09-11 15:30:47 UTC (rev 83832)
+++ trunk/dports/python/py-urwid/Portfile	2011-09-11 16:06:59 UTC (rev 83833)
@@ -1,12 +1,12 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-urwid
 version			0.9.9.1
-categories		python
 platforms		darwin
+license			LGPL-2.1+
 maintainers		nomaintainer
 description		curses-based UI/widget library for Python
 long_description	Urwid is a curses-based UI/widget library for Python. It \
@@ -21,11 +21,15 @@
 checksums       sha1    7430e84a43d603717944d4f0d4489d90c0d59c1c \
                 rmd160  30943471f6d6ed8ec3ff777394da2eb74cd94ea0
 
-post-destroot {
-	xinstall -m 644 ${worksrcpath}/reference.html \
-		${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath} browse.py calc.py edit.py fib.py tour.py \
-		${destroot}${prefix}/share/doc/${name}/examples
+python.versions 24 25 26 27
+
+if {$subport != $name} {
+    post-destroot {
+        xinstall -m 644 ${worksrcpath}/reference.html \
+            ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} browse.py calc.py edit.py fib.py tour.py \
+            ${destroot}${prefix}/share/doc/${subport}/examples
+    }
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110911/73e42737/attachment.html>


More information about the macports-changes mailing list