[100504] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Dec 14 06:55:36 PST 2012
Revision: 100504
https://trac.macports.org/changeset/100504
Author: jmr at macports.org
Date: 2012-12-14 06:55:35 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py*-turbojson: unify, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-turbojson/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-turbojson/
Modified: trunk/dports/python/py-turbojson/Portfile
===================================================================
--- trunk/dports/python/py-turbojson/Portfile 2012-12-14 14:45:47 UTC (rev 100503)
+++ trunk/dports/python/py-turbojson/Portfile 2012-12-14 14:55:35 UTC (rev 100504)
@@ -2,7 +2,7 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-turbojson
version 1.1.2
@@ -12,15 +12,22 @@
allowing you to easily use JSON via the simplejson \
module with TurboGears, Buffet or other systems \
that support python.templating.engines.
+license MIT
platforms darwin
+supported_archs noarch
homepage http://pypi.python.org/pypi/TurboJson/
master_sites http://pypi.python.org/packages/source/T/TurboJson/
distname TurboJson-${version}
checksums md5 21969123122e02d87e2727a73e950796 \
sha1 62b789ba593ad9f1e4b7a9b89660f252a56db835 \
rmd160 5d18dfd76a8b78f1b2e5512d4293356039211e67
-depends_lib port:py24-ruledispatch
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} \
- README.txt ${destroot}${prefix}/share/doc/${name}
+
+python.versions 24 25
+
+if {$subport != $name} {
+ depends_lib port:py${python.version}-ruledispatch
+ 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/f5cbe303/attachment-0001.html>
More information about the macports-changes
mailing list