[99009] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Oct 23 10:30:40 PDT 2012


Revision: 99009
          http://trac.macports.org//changeset/99009
Author:   jmr at macports.org
Date:     2012-10-23 10:30:40 -0700 (Tue, 23 Oct 2012)
Log Message:
-----------
py*-kid: unify

Modified Paths:
--------------
    trunk/dports/python/py-kid/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-kid/
    trunk/dports/python/py26-kid/

Modified: trunk/dports/python/py-kid/Portfile
===================================================================
--- trunk/dports/python/py-kid/Portfile	2012-10-23 17:05:41 UTC (rev 99008)
+++ trunk/dports/python/py-kid/Portfile	2012-10-23 17:30:40 UTC (rev 99009)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-kid
 version			0.9.6
 platforms		darwin
-categories		python
+supported_archs	noarch
+license			MIT
 maintainers		afb openmaintainer
 description		A simple and pythonic XML template language
 long_description	Kid is a simple, Python-based template language for \
@@ -17,10 +18,16 @@
 distname		kid-${version}
 checksums		md5 4233e592eee906039ad3dcbedbf6e972
 
-depends_lib-append	port:py-celementtree
+python.versions	24 25 26
 
-test.run		yes
+if {$subport != $name} {
+	depends_lib-append	port:py${python.version}-celementtree
+	depends_build	port:py${python.version}-distribute
 
-livecheck.type  regex
-livecheck.url   ${homepage}
-livecheck.regex stable version of Kid is (\[0-9\.-\]+)
+	test.run		yes
+	livecheck.type	none
+} else {
+	livecheck.type  regex
+	livecheck.url   ${homepage}
+	livecheck.regex stable version of Kid is (\[0-9\.-\]+)
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121023/bbb3c677/attachment.html>


More information about the macports-changes mailing list