[96717] trunk/dports/python/py-logilab-common/Portfile

blair at macports.org blair at macports.org
Fri Aug 17 14:58:33 PDT 2012


Revision: 96717
          https://trac.macports.org/changeset/96717
Author:   blair at macports.org
Date:     2012-08-17 14:58:32 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
py2{4,5}-logilab-common: append -${python.branch} to ${prefix}/bin/pytest.

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

Modified: trunk/dports/python/py-logilab-common/Portfile
===================================================================
--- trunk/dports/python/py-logilab-common/Portfile	2012-08-17 21:57:29 UTC (rev 96716)
+++ trunk/dports/python/py-logilab-common/Portfile	2012-08-17 21:58:32 UTC (rev 96717)
@@ -7,6 +7,7 @@
 name                py-logilab-common
 if {$subport != "py24-logilab-common"} {
     version         0.58.2
+    revision        1
 } else {
     epoch           1
     version         0.50.3
@@ -41,9 +42,9 @@
         xinstall -m 644 -W ${worksrcpath} ChangeLog README \
         ${destroot}${prefix}/share/doc/${subport}
 
-        # Python 2.4 installs pytest in ${prefix}/bin while newer
-        # Pythons install it into ${python.prefix}/bin.
-        if {$subport == "py24-logilab-common"} {
+        # Python 2.4 and 2.5 install pytest in ${prefix}/bin.
+        if {$subport == "py24-logilab-common" ||
+            $subport == "py25-logilab-common"} {
             move ${destroot}${prefix}/bin/pytest \
                 ${destroot}${prefix}/bin/pytest-${python.branch}
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/37a3b7f3/attachment.html>


More information about the macports-changes mailing list