[82068] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sun Aug 7 02:35:16 PDT 2011
Revision: 82068
http://trac.macports.org/changeset/82068
Author: jmr at macports.org
Date: 2011-08-07 02:35:14 -0700 (Sun, 07 Aug 2011)
Log Message:
-----------
unify py*-modulegraph
Modified Paths:
--------------
trunk/dports/python/py-modulegraph/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-modulegraph/
trunk/dports/python/py26-modulegraph/
trunk/dports/python/py27-modulegraph/
Modified: trunk/dports/python/py-modulegraph/Portfile
===================================================================
--- trunk/dports/python/py-modulegraph/Portfile 2011-08-07 09:26:51 UTC (rev 82067)
+++ trunk/dports/python/py-modulegraph/Portfile 2011-08-07 09:35:14 UTC (rev 82068)
@@ -1,13 +1,15 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup python24 1.0
+PortSystem 1.0
+PortGroup python 1.0
-name py-modulegraph
-version 0.9
-categories-append devel
-maintainers jwa openmaintainer
-description Python module dependency analysis tool
+name py-modulegraph
+version 0.9.1
+categories-append devel
+license MIT
+maintainers jmr openmaintainer
+description Python module dependency analysis tool
long_description \
modulegraph determines a dependency graph between Python modules \
primarily by bytecode analysis for import statements. \
@@ -15,19 +17,29 @@
library, but uses a more flexible internal representation, has more \
extensive knowledge of special cases, and is extensible.
-platforms darwin
-supported_archs noarch
+platforms darwin
+supported_archs noarch
-homepage http://undefined.org/python/#modulegraph
-master_sites http://cheeseshop.python.org/packages/source/m/modulegraph
-distname modulegraph-${version}
+homepage http://undefined.org/python/#modulegraph
+master_sites http://pypi.python.org/packages/source/m/modulegraph/
+distname modulegraph-${version}
-depends_lib-append port:py-altgraph
+checksums md5 4d5e8dbfc35d7a3d1123c4cc2d958125 \
+ sha1 92f4307ac1d8b4fef7acd12f72a71c63109ff246 \
+ rmd160 b8912f3e618a735f75e5f4d6ca60f78ffb557537
-checksums md5 95d8bad1bb4c6186a75536da44787a17 \
- sha1 07d30f785d17b11a540537e910b887bf8589a58e \
- rmd160 5d3e18d473b2542d8b9757cd0614e4d58e782a22
+python.versions 24 25 26 27
-livecheck.type regex
-livecheck.url http://cheeseshop.python.org/pypi/modulegraph
-livecheck.regex modulegraph (0\.\[0-9\]+)
+if {$subport != $name} {
+ depends_lib port:py${python.version}-altgraph
+ if {${python.version} == 24 || ${python.version} == 25} {
+ post-destroot {
+ move ${destroot}${prefix}/bin/modulegraph \
+ ${destroot}${prefix}/bin/modulegraph-${python.branch}
+ }
+ }
+}
+
+livecheck.type regex
+livecheck.url http://pypi.python.org/pypi/modulegraph
+livecheck.regex {modulegraph ([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110807/5e9700b5/attachment.html>
More information about the macports-changes
mailing list