[100506] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Dec 14 07:22:21 PST 2012
Revision: 100506
https://trac.macports.org/changeset/100506
Author: jmr at macports.org
Date: 2012-12-14 07:22:21 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py*-turbocheetah: unify, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-turbocheetah/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-turbocheetah/
Modified: trunk/dports/python/py-turbocheetah/Portfile
===================================================================
--- trunk/dports/python/py-turbocheetah/Portfile 2012-12-14 15:21:38 UTC (rev 100505)
+++ trunk/dports/python/py-turbocheetah/Portfile 2012-12-14 15:22:21 UTC (rev 100506)
@@ -2,7 +2,7 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-turbocheetah
version 1.0
@@ -12,16 +12,23 @@
allowing you to easily use Cheetah with TurboGears,\
Buffet or other systems that support \
python.templating.engines.
+license MIT
platforms darwin
+supported_archs noarch
homepage http://pypi.python.org/pypi/TurboCheetah/
master_sites http://pypi.python.org/packages/source/T/TurboCheetah/
distname TurboCheetah-${version}
checksums md5 daf99f38f6696ac64b7df8ac2e003a03 \
sha1 f2e983c1a57e00e4abbffb906280e147dcd787e9 \
rmd160 6d224c43740a9d0e13bb8a765d710df0ec169986
-depends_build port:py24-distribute
-depends_lib port:py-cheetah
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} \
- README.txt ${destroot}${prefix}/share/doc/${name}
+
+python.versions 24 25
+
+if {$subport != $name} {
+ depends_build port:py${python.version}-distribute
+ depends_lib port:py${python.version}-cheetah
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} \
+ README.txt ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121214/ecd5d132/attachment.html>
More information about the macports-changes
mailing list