[121489] trunk/dports/python/py-networkx/Portfile

stromnov at macports.org stromnov at macports.org
Thu Jun 26 17:11:14 PDT 2014


Revision: 121489
          https://trac.macports.org/changeset/121489
Author:   stromnov at macports.org
Date:     2014-06-26 17:11:14 -0700 (Thu, 26 Jun 2014)
Log Message:
-----------
py-networkx: update to version 1.9

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

Modified: trunk/dports/python/py-networkx/Portfile
===================================================================
--- trunk/dports/python/py-networkx/Portfile	2014-06-26 22:14:51 UTC (rev 121488)
+++ trunk/dports/python/py-networkx/Portfile	2014-06-27 00:11:14 UTC (rev 121489)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-networkx
-version             1.8.1
+version             1.9
 revision            0
 categories-append   science
 platforms           darwin
@@ -28,13 +28,22 @@
 
 distname            networkx-${version}
 
-checksums           rmd160  2add3237d7c30c4aecb68cd4c01dd8401005a6ea \
-                    sha256  b75ba675fd2831f60e3f5a028822a8f7b9993877854599e9694196f8b2f88233
+checksums           rmd160  4818fd7f17289a5b9725de850a9c69100c8dd9eb \
+                    sha256  52e8eea77b0d3f5420cadaca55181c862f06a79a4500f06917b58a0455a12b22
 
 if {${name} ne ${subport}} {
+
+    if {[lsearch {26 31 32} ${python.version}] != -1} {
+        version             1.8.1
+        revision            0
+        distname            networkx-${version}
+        checksums           rmd160  2add3237d7c30c4aecb68cd4c01dd8401005a6ea \
+                            sha256  b75ba675fd2831f60e3f5a028822a8f7b9993877854599e9694196f8b2f88233
+    }
+
     livecheck.type      none
 } else {
     livecheck.type      regex
     livecheck.url       ${master_sites}
-    livecheck.regex     "networkx-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.regex     {networkx-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140626/b4df6033/attachment.html>


More information about the macports-changes mailing list