[99003] trunk/dports/python
jmr at macports.org
jmr at macports.org
Tue Oct 23 09:00:29 PDT 2012
Revision: 99003
http://trac.macports.org//changeset/99003
Author: jmr at macports.org
Date: 2012-10-23 09:00:29 -0700 (Tue, 23 Oct 2012)
Log Message:
-----------
py*-decoratortools: unify
Modified Paths:
--------------
trunk/dports/python/py-decoratortools/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-decoratortools/
trunk/dports/python/py26-decoratortools/
Modified: trunk/dports/python/py-decoratortools/Portfile
===================================================================
--- trunk/dports/python/py-decoratortools/Portfile 2012-10-23 15:56:42 UTC (rev 99002)
+++ trunk/dports/python/py-decoratortools/Portfile 2012-10-23 16:00:29 UTC (rev 99003)
@@ -1,17 +1,19 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-decoratortools
version 1.7
revision 2
categories-append www
+license {PSF ZPL}
maintainers akitada openmaintainer
description Class, Function, and Assignment Decorators, Metaclasses, \
and Related Tools
long_description ${description}
platforms darwin
+supported_archs noarch
homepage http://cheeseshop.python.org/pypi/DecoratorTools
master_sites http://cheeseshop.python.org/packages/source/D/DecoratorTools/
distname DecoratorTools-${version}
@@ -19,8 +21,13 @@
checksums md5 84df0a86aabec6a7d802439ffaa17585 \
sha1 2043250d06129ca71c47b26024f4800c47d4843a \
rmd160 f605ef9ffd0cb6605a9b68442bdb20af2b69023b
-depends_lib port:py24-distribute
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} \
- README.txt ${destroot}${prefix}/share/doc/${name}
+
+python.versions 24 25 26
+
+if {$subport != $name} {
+ depends_lib port:py${python.version}-distribute
+ 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/20121023/d4e02507/attachment.html>
More information about the macports-changes
mailing list