[90038] trunk/dports/python/py-progressbar/Portfile
snc at macports.org
snc at macports.org
Sun Feb 19 20:27:35 PST 2012
Revision: 90038
http://trac.macports.org/changeset/90038
Author: snc at macports.org
Date: 2012-02-19 20:27:35 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
py-progressbar:
* update to 2.3
* current version only on google code
* fix docdir for unify
Modified Paths:
--------------
trunk/dports/python/py-progressbar/Portfile
Modified: trunk/dports/python/py-progressbar/Portfile
===================================================================
--- trunk/dports/python/py-progressbar/Portfile 2012-02-20 04:26:13 UTC (rev 90037)
+++ trunk/dports/python/py-progressbar/Portfile 2012-02-20 04:27:35 UTC (rev 90038)
@@ -4,8 +4,7 @@
PortGroup python 1.0
name py-progressbar
-version 2.2
-revision 1
+version 2.3
python.versions 26 27
python.default_version 27
license LGPL-2.1+
@@ -23,23 +22,22 @@
categories-append \
devel
-homepage http://pypi.python.org/pypi/progressbar/
-master_sites http://pypi.python.org/packages/source/p/progressbar/
+homepage http://code.google.com/p/python-progressbar/
+master_sites http://python-progressbar.googlecode.com/files
distname progressbar-${version}
-checksums rmd160 13f59c0c3155cd120eef11c7736f6363d33fa136 \
- sha256 dfee5201237ca0e942baa4d451fee8bf8a54065a337fabe7378b8585aeda56a3
+checksums rmd160 54da4c737c6e012804fcbca215f4be196b441a4a \
+ sha256 00a316c1a99b70a803d7430fd088da24f37dbfb64f81c4772b97fbc1e8031de4
if {${name} != ${subport}} {
post-destroot {
- set docdir ${prefix}/share/doc/${name}
+ set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
- xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt ${destroot}${docdir}
}
livecheck.type none
} else {
livecheck.type regex
- livecheck.url ${homepage}
- livecheck.regex {<h1>progressbar (.*)</h1>}
+ livecheck.regex python-progressbar.googlecode.com/files/progressbar-(\\d(\\.\\d+)+)
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/2dcbcd01/attachment.html>
More information about the macports-changes
mailing list