[100505] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Dec 14 07:21:38 PST 2012
Revision: 100505
https://trac.macports.org/changeset/100505
Author: jmr at macports.org
Date: 2012-12-14 07:21:38 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py*-cheetah: unify
Modified Paths:
--------------
trunk/dports/python/py-cheetah/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-cheetah/
trunk/dports/python/py26-cheetah/
trunk/dports/python/py27-cheetah/
Modified: trunk/dports/python/py-cheetah/Portfile
===================================================================
--- trunk/dports/python/py-cheetah/Portfile 2012-12-14 14:55:35 UTC (rev 100504)
+++ trunk/dports/python/py-cheetah/Portfile 2012-12-14 15:21:38 UTC (rev 100505)
@@ -1,7 +1,7 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-cheetah
version 2.4.4
@@ -19,20 +19,22 @@
expected to be its principle user group.
homepage http://www.cheetahtemplate.org/
-master_sites sourceforge:cheetahtemplate
+master_sites http://pypi.python.org/packages/source/C/Cheetah/
distname Cheetah-${version}
checksums sha1 c218f5d8bc97b39497680f6be9b7bd093f696e89 \
rmd160 ae516e090313864f03dbfe131dada3fec9f60243
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README.markdown TODO \
- ${destroot}${prefix}/share/doc/${name}
- foreach f [glob ${destroot}${prefix}/bin/*] {
- move ${f} ${f}-2.4
- }
+python.versions 24 25 26 27
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README.markdown TODO \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex >Cheetah\ (\[0-9\.rc\]+)<
}
-
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex >Cheetah\ (\[0-9\.rc\]+)<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121214/6406c4cf/attachment.html>
More information about the macports-changes
mailing list