[105733] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri May 3 17:18:43 PDT 2013
Revision: 105733
https://trac.macports.org/changeset/105733
Author: jmr at macports.org
Date: 2013-05-03 17:18:43 -0700 (Fri, 03 May 2013)
Log Message:
-----------
py*-pygraphviz: unify, set license
Modified Paths:
--------------
trunk/dports/python/py-pygraphviz/Portfile
Added Paths:
-----------
trunk/dports/python/py-pygraphviz/
Removed Paths:
-------------
trunk/dports/python/py25-pygraphviz/
trunk/dports/python/py26-pygraphviz/
trunk/dports/python/py27-pygraphviz/
Modified: trunk/dports/python/py-pygraphviz/Portfile
===================================================================
--- trunk/dports/python/py27-pygraphviz/Portfile 2013-05-03 22:31:06 UTC (rev 105728)
+++ trunk/dports/python/py-pygraphviz/Portfile 2013-05-04 00:18:43 UTC (rev 105733)
@@ -1,11 +1,12 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
-name py27-pygraphviz
+name py-pygraphviz
version 1.0
categories-append science
+license BSD
maintainers nomaintainer
description A Python wrapper for the Graphviz Agraph data structure.
long_description PyGraphviz is a Python interface to the Graphviz graph layout \
@@ -26,11 +27,16 @@
sha1 a2b9a725f331a2170f881022eba6ac2d4272d68f \
rmd160 119bd95ae07d76a79fe54b12b8afe2d308bbf035
-depends_build port:pkgconfig
-depends_lib-append port:swig-python \
- path:bin/dot:graphviz \
- port:py27-distribute
+python.versions 25 26 27
-livecheck.type regex
-livecheck.url ${master_sites}
-livecheck.regex "pygraphviz-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+if {$subport != $name} {
+ depends_build port:pkgconfig
+ depends_lib-append port:swig-python \
+ path:bin/dot:graphviz \
+ port:py${python.version}-distribute
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex "pygraphviz-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130503/2e59cc62/attachment.html>
More information about the macports-changes
mailing list