Revision
93907
Author
jmr@macports.org
Date
2012-06-03 23:01:20 -0700 (Sun, 03 Jun 2012)

Log Message

py26-pydot: move to unified portgroup, add py27 (#31570)

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/dports/python/py-pydot/Portfile (93905 => 93907)


--- trunk/dports/python/py26-pydot/Portfile	2012-06-04 02:04:13 UTC (rev 93905)
+++ trunk/dports/python/py-pydot/Portfile	2012-06-04 06:01:20 UTC (rev 93907)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-pydot
+name                    py-pydot
 version                 1.0.25
 maintainers             singingwolfboy openmaintainer
 description             a Python interface to the Graphviz DOT language
@@ -24,5 +24,10 @@
                     sha1    9696cb857138c388e4fa4998d97a31638def8885 \
                     rmd160  b47c55d66fa2e5e1102ea20d0ed2fca619436617
 
+python.versions     26 27
+python.default_version 27
+
+if {$subport != $name} {
 depends_lib-append      path:bin/dot:graphviz \
-                        port:py26-parsing
+                        port:py${python.version}-parsing
+}