[100503] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Dec 14 06:45:48 PST 2012
Revision: 100503
https://trac.macports.org/changeset/100503
Author: jmr at macports.org
Date: 2012-12-14 06:45:47 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py*-turbokid: unify, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-turbokid/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-turbokid/
Modified: trunk/dports/python/py-turbokid/Portfile
===================================================================
--- trunk/dports/python/py-turbokid/Portfile 2012-12-14 14:34:42 UTC (rev 100502)
+++ trunk/dports/python/py-turbokid/Portfile 2012-12-14 14:45:47 UTC (rev 100503)
@@ -2,7 +2,7 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-turbokid
version 1.0.4
@@ -12,16 +12,23 @@
allowing you to easily use Kid with TurboGears, \
Buffet or other systems that support \
python.templating.engines.
+license MIT
platforms darwin
+supported_archs noarch
homepage http://www.turbogears.org/
master_sites http://pypi.python.org/packages/source/T/TurboKid/
distname TurboKid-${version}
checksums md5 0dc9eba1783244a9800b8c4316d38341 \
sha1 31f07da56fe8899aff73fbe1f251e0c985a3239f \
rmd160 407792b9e77ec53314955daf83bd32e5b0b9be07
-depends_build port:py24-distribute
-depends_lib port:py24-kid
-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}-kid
+ 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/54acbe07/attachment.html>
More information about the macports-changes
mailing list