[83749] trunk/dports/python/py-distribute/Portfile

jmr at macports.org jmr at macports.org
Sat Sep 10 08:56:43 PDT 2011


Revision: 83749
          http://trac.macports.org/changeset/83749
Author:   jmr at macports.org
Date:     2011-09-10 08:56:42 -0700 (Sat, 10 Sep 2011)
Log Message:
-----------
py-distribute: apparently this works with python 2.4

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

Modified: trunk/dports/python/py-distribute/Portfile
===================================================================
--- trunk/dports/python/py-distribute/Portfile	2011-09-10 15:54:04 UTC (rev 83748)
+++ trunk/dports/python/py-distribute/Portfile	2011-09-10 15:56:42 UTC (rev 83749)
@@ -25,7 +25,7 @@
                     rmd160  3a2581ed9eb338b17f27e283bb6f6050cf62ff17 \
                     sha256  1ed4b5895e722b06f6701f56dd227dd6aa25cbfc0c76ce0465b755ed92f52097
 
-python.versions     25 26 27 31 32
+python.versions     24 25 26 27 31 32
 python.default_version 27
 python.link_binaries no
 
@@ -34,7 +34,7 @@
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \
           DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${subport}
-       if {$subport == "py25-distribute"} {
+       if {${python.version} <= 25} {
           delete "${destroot}${prefix}/bin/easy_install"
        } else {
           ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110910/69ede634/attachment.html>


More information about the macports-changes mailing list