[90035] trunk/dports/python
snc at macports.org
snc at macports.org
Sun Feb 19 19:46:01 PST 2012
Revision: 90035
http://trac.macports.org/changeset/90035
Author: snc at macports.org
Date: 2012-02-19 19:45:57 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
py-progressbar: unify py26 subport, add py27 subport
Modified Paths:
--------------
trunk/dports/python/py-progressbar/Portfile
Added Paths:
-----------
trunk/dports/python/py-progressbar/
Removed Paths:
-------------
trunk/dports/python/py26-progressbar/
Modified: trunk/dports/python/py-progressbar/Portfile
===================================================================
--- trunk/dports/python/py26-progressbar/Portfile 2012-02-20 01:32:58 UTC (rev 90034)
+++ trunk/dports/python/py-progressbar/Portfile 2012-02-20 03:45:57 UTC (rev 90035)
@@ -1,11 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-progressbar
+name py-progressbar
version 2.2
revision 1
+python.versions 26 27
+python.default_version 27
license LGPL-2.1+
maintainers nomaintainer
platforms darwin
@@ -25,16 +27,19 @@
master_sites http://pypi.python.org/packages/source/p/progressbar/
distname progressbar-${version}
-checksums md5 8ea4e2c17a8ec9e7d153767c5f2a7b28 \
- sha1 a6ccec7c4d908a0c9d5ed1831ca9947df003407c \
- rmd160 13f59c0c3155cd120eef11c7736f6363d33fa136
+checksums rmd160 13f59c0c3155cd120eef11c7736f6363d33fa136 \
+ sha256 dfee5201237ca0e942baa4d451fee8bf8a54065a337fabe7378b8585aeda56a3
-post-destroot {
- set docdir ${prefix}/share/doc/${name}
- xinstall -d ${destroot}${docdir}
- xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir}
+if {{$name} != ${subport}} {
+ post-destroot {
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir}
+ }
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex {<h1>progressbar (.*)</h1>}
}
-
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex {<h1>progressbar (.*)</h1>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/f8fc7e04/attachment.html>
More information about the macports-changes
mailing list