[66525] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Apr 16 01:51:56 PDT 2010


Revision: 66525
          http://trac.macports.org/changeset/66525
Author:   jmr at macports.org
Date:     2010-04-16 01:51:54 -0700 (Fri, 16 Apr 2010)
Log Message:
-----------
prevent creation of links named like "easy_install-2.6-2.6" by distribute ports (not bumping revision since it doesn't do any real harm)

Modified Paths:
--------------
    trunk/dports/python/py25-distribute/Portfile
    trunk/dports/python/py26-distribute/Portfile
    trunk/dports/python/py27-distribute/Portfile
    trunk/dports/python/py31-distribute/Portfile

Modified: trunk/dports/python/py25-distribute/Portfile
===================================================================
--- trunk/dports/python/py25-distribute/Portfile	2010-04-16 08:46:26 UTC (rev 66524)
+++ trunk/dports/python/py25-distribute/Portfile	2010-04-16 08:51:54 UTC (rev 66525)
@@ -23,10 +23,13 @@
                     sha1    60b29c6ffbd9ce5f4cbaebba809a8316cf198462 \
                     rmd160  4c8586ff3e65079ebf8df665a2364c6a11c00474
 
+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/"
 }
 
 livecheck.url       ${master_sites}

Modified: trunk/dports/python/py26-distribute/Portfile
===================================================================
--- trunk/dports/python/py26-distribute/Portfile	2010-04-16 08:46:26 UTC (rev 66524)
+++ trunk/dports/python/py26-distribute/Portfile	2010-04-16 08:51:54 UTC (rev 66525)
@@ -23,10 +23,13 @@
                     sha1    60b29c6ffbd9ce5f4cbaebba809a8316cf198462 \
                     rmd160  4c8586ff3e65079ebf8df665a2364c6a11c00474
 
+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/"
 }
 
 livecheck.url       ${master_sites}

Modified: trunk/dports/python/py27-distribute/Portfile
===================================================================
--- trunk/dports/python/py27-distribute/Portfile	2010-04-16 08:46:26 UTC (rev 66524)
+++ trunk/dports/python/py27-distribute/Portfile	2010-04-16 08:51:54 UTC (rev 66525)
@@ -26,10 +26,13 @@
                     sha1    60b29c6ffbd9ce5f4cbaebba809a8316cf198462 \
                     rmd160  4c8586ff3e65079ebf8df665a2364c6a11c00474
 
+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/"
 }
 
 livecheck.url       ${master_sites}

Modified: trunk/dports/python/py31-distribute/Portfile
===================================================================
--- trunk/dports/python/py31-distribute/Portfile	2010-04-16 08:46:26 UTC (rev 66524)
+++ trunk/dports/python/py31-distribute/Portfile	2010-04-16 08:51:54 UTC (rev 66525)
@@ -29,7 +29,7 @@
    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-3.1" "${destroot}${prefix}/bin/"
+   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/20100416/bf34cf30/attachment.html>


More information about the macports-changes mailing list