[106193] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat May 18 07:40:58 PDT 2013


Revision: 106193
          https://trac.macports.org/changeset/106193
Author:   jmr at macports.org
Date:     2013-05-18 07:40:58 -0700 (Sat, 18 May 2013)
Log Message:
-----------
py26-pylzma: use unified portgroup, set license

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

Added Paths:
-----------
    trunk/dports/python/py-pylzma/

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

Modified: trunk/dports/python/py-pylzma/Portfile
===================================================================
--- trunk/dports/python/py26-pylzma/Portfile	2013-05-18 12:32:25 UTC (rev 106187)
+++ trunk/dports/python/py-pylzma/Portfile	2013-05-18 14:40:58 UTC (rev 106193)
@@ -2,11 +2,12 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pylzma
+name                py-pylzma
 version             0.4.4
 categories-append   archivers
+license             LGPL-2.1+
 platforms           darwin
 
 maintainers         stromnov openmaintainer
@@ -22,14 +23,19 @@
                     sha1    703818c6bbba96dd843b583c3725b07f64ed6e73 \
                     rmd160  a57c7e6a145cd19424b9bbb0ce4da4d20439ada3
 
-depends_build-append \
-                    port:py26-distribute
+python.versions     26
 
-post-destroot {
-    xinstall -m 644 -W ${worksrcpath} LICENSE.txt readme.txt doc/usage.txt \
-        ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_build-append \
+                        port:py${python.version}-distribute
+
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath} LICENSE.txt readme.txt doc/usage.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     pylzma-(\\d+(\\.\\d+)+)${extract.suffix}
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     pylzma-(\\d+(\\.\\d+)+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130518/42195909/attachment.html>


More information about the macports-changes mailing list