[82063] trunk/dports/python

jmr at macports.org jmr at macports.org
Sun Aug 7 01:57:30 PDT 2011


Revision: 82063
          http://trac.macports.org/changeset/82063
Author:   jmr at macports.org
Date:     2011-08-07 01:57:29 -0700 (Sun, 07 Aug 2011)
Log Message:
-----------
unify py*-distribute

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

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

Removed Paths:
-------------
    trunk/dports/python/py25-distribute/
    trunk/dports/python/py26-distribute/
    trunk/dports/python/py27-distribute/
    trunk/dports/python/py31-distribute/
    trunk/dports/python/py32-distribute/

Modified: trunk/dports/python/py-distribute/Portfile
===================================================================
--- trunk/dports/python/py27-distribute/Portfile	2011-08-07 05:26:16 UTC (rev 82055)
+++ trunk/dports/python/py-distribute/Portfile	2011-08-07 08:57:29 UTC (rev 82063)
@@ -2,12 +2,12 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-distribute
+name                py-distribute
 version             0.6.19
 categories-append   devel
-license             PSF ZPL
+license             {PSF ZPL}
 maintainers         jmr openmaintainer
 description         Replacement for setuptools
 long_description \
@@ -25,13 +25,19 @@
                     sha1    4b9569319aa8cc283030b3d996b5d88e022c684f \
                     rmd160  7acad7c1847ed48f286fc66387941276a39fc021
 
+python.versions     25 26 27 31 32
+python.default_version 27
 python.link_binaries no
 
 post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \
       DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${name}
-   ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/"
+   if {$subport == "py25-distribute"} {
+      delete "${destroot}${prefix}/bin/easy_install"
+   } else {
+      ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/"
+   }
 }
 
 livecheck.url       ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110807/73c4bf8c/attachment.html>


More information about the macports-changes mailing list