[114457] trunk/dports/python/py-setuptools/Portfile
jmr at macports.org
jmr at macports.org
Sun Dec 8 22:46:47 PST 2013
Revision: 114457
https://trac.macports.org/changeset/114457
Author: jmr at macports.org
Date: 2013-12-08 22:46:47 -0800 (Sun, 08 Dec 2013)
Log Message:
-----------
py-setuptools: update to 2.0 for python 2.6+
Modified Paths:
--------------
trunk/dports/python/py-setuptools/Portfile
Modified: trunk/dports/python/py-setuptools/Portfile
===================================================================
--- trunk/dports/python/py-setuptools/Portfile 2013-12-09 06:32:05 UTC (rev 114456)
+++ trunk/dports/python/py-setuptools/Portfile 2013-12-09 06:46:47 UTC (rev 114457)
@@ -5,7 +5,7 @@
PortGroup python 1.0
name py-setuptools
-version 1.4.2
+version 2.0
categories-append devel
license {PSF ZPL}
maintainers jmr openmaintainer
@@ -22,16 +22,24 @@
master_sites https://pypi.python.org/packages/source/s/setuptools/
distname setuptools-${version}
-checksums md5 13951be6711438073fbe50843e7f141f \
- rmd160 b48086a2aae718fe433a8c882d2d9209aa157b0a \
- sha256 263986a60a83aba790a5bffc7d009ac88114ba4e908e5c90e453b3bf2155dbbd
+checksums md5 887cdf417bc5d25326c66bb98c0dd160 \
+ rmd160 362dae217cbc102a3f279170ded9912d40fcddfb \
+ sha256 5f86bea24bbe1a27939a42ce876954b22eecb748f581d78b0708220c2f7d7419
python.versions 24 25 26 27 31 32 33 34
python.default_version 27
python.link_binaries no
python.move_binaries no
-if {${name} ne ${subport}} {
+if {$subport ne $name} {
+ if {${python.version} <= 25} {
+ version 1.4.2
+ distname setuptools-${version}
+ checksums md5 13951be6711438073fbe50843e7f141f \
+ rmd160 b48086a2aae718fe433a8c882d2d9209aa157b0a \
+ sha256 263986a60a83aba790a5bffc7d009ac88114ba4e908e5c90e453b3bf2155dbbd
+ }
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131208/cd61b60f/attachment.html>
More information about the macports-changes
mailing list