[91077] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Fri Mar 23 08:06:50 PDT 2012


Revision: 91077
          https://trac.macports.org/changeset/91077
Author:   macsforever2000 at macports.org
Date:     2012-03-23 08:06:49 -0700 (Fri, 23 Mar 2012)
Log Message:
-----------
py-logilab-common: Unify

Modified Paths:
--------------
    trunk/dports/python/py-logilab-common/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-logilab-common/
    trunk/dports/python/py26-logilab-common/
    trunk/dports/python/py27-logilab-common/

Modified: trunk/dports/python/py-logilab-common/Portfile
===================================================================
--- trunk/dports/python/py-logilab-common/Portfile	2012-03-23 15:05:42 UTC (rev 91076)
+++ trunk/dports/python/py-logilab-common/Portfile	2012-03-23 15:06:49 UTC (rev 91077)
@@ -2,12 +2,12 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
 
 name                py-logilab-common
-version             0.55.1
+version             0.56.0
 license             LGPL-2.1+
-maintainers         dh openmaintainer
+maintainers         dh stromnov openmaintainer
 description         A number of modules used by various projects from Logilab
 long_description    ${description}
 
@@ -18,19 +18,24 @@
                     ftp://ftp.logilab.fr/pub/common
 distname            logilab-common-${version}
 
-checksums           md5     c40f6380dd10b867382bc76713b6f6ce \
-                    sha1    50fb6bfed720482da84cb464983cf48133a20179 \
-                    rmd160  f2aa83fa0014a82bde15081d5873f43bd41afe7b
+checksums           md5     9737aa6b05758779df201113a9aa592b \
+                    sha1    d950f4fde449e4709a7d333ee8f8b614b70ae676 \
+                    rmd160  5d29aaaf00a2958da099a847ac9a0c8d3d83ea9e
 
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
-        ${destroot}${prefix}/share/doc/${name}
+python.versions 24 25 26 27
 
-    # alter the install name of pytest to include version name
-    move ${destroot}${prefix}/bin/pytest ${destroot}${prefix}/bin/pytest-2.4
+if {$subport != $name} {
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} ChangeLog README \
+        ${destroot}${prefix}/share/doc/${subport}
+
+        move ${destroot}${python.prefix}/bin/pytest ${destroot}${python.prefix}/bin/pytest-${python.branch}
+    }
+    
+    livecheck.type  none
+} else {
+    livecheck.type      regex
+    livecheck.url       http://ftp.logilab.org/pub/common/
+    livecheck.regex     {logilab-common-(\d+(?:\.\d+)*)\.tar\.gz}
 }
-
-livecheck.type      regex
-livecheck.url       http://ftp.logilab.org/pub/common/
-livecheck.regex     {logilab-common-(\d+(?:\.\d+)*)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120323/9f65a926/attachment.html>


More information about the macports-changes mailing list