[135492] trunk/dports/python/py-prov/Portfile

petr at macports.org petr at macports.org
Fri Apr 24 13:14:14 PDT 2015


Revision: 135492
          https://trac.macports.org/changeset/135492
Author:   petr at macports.org
Date:     2015-04-24 13:14:14 -0700 (Fri, 24 Apr 2015)
Log Message:
-----------
py-prov: version bump to 1.3.1

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

Modified: trunk/dports/python/py-prov/Portfile
===================================================================
--- trunk/dports/python/py-prov/Portfile	2015-04-24 19:42:31 UTC (rev 135491)
+++ trunk/dports/python/py-prov/Portfile	2015-04-24 20:14:14 UTC (rev 135492)
@@ -3,29 +3,33 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
-PortGroup           github 1.0
 
-github.setup        trungdong prov 1.2.0
+set _name           prov
+set _n              [string index ${_name} 0]
 
-name                py-${github.project}
+name                py-${_name}
+version             1.3.1
 categories-append   devel www
 platforms           darwin
 supported_archs     noarch
 license             MIT
+
 maintainers         petr openmaintainer
 
-homepage            http://prov.readthedocs.org
-
 description         A Python library for W3C Provenance Data Model
 long_description    ${description}. It supports PROV-JSON and PROV-XML \
                     serialization and deserialization, and exporting of \
                     PROV documents into various graphical formats, e.g. \
                     PDF, PNG, SVG.
+homepage            http://prov.readthedocs.org
 
-checksums           md5     0c86fc7acc3a667f0b96ff7fff7b8c84 \
-                    rmd160  2b6752e28b36a16ced00f065b79e1f69c12d01e8 \
-                    sha256  7b3b01a9bec7120a12b7c40ecf6140fdae1068898798e70fe9a6cc2b321f36e5
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+distname            ${_name}-${version}
 
+checksums           md5     120c3d11f22a745259812ba61d7071d3 \
+                    rmd160  d5e49a6d8d7b5b2f82c63c1a45f8d279b9766f1c \
+                    sha256  e0aaa7532eb76aae706b49391b8f16500a885ef00dd6307a345d92b2c4d4f590
+
 python.versions     27 34
 
 if {${name} ne ${subport}} {
@@ -33,15 +37,13 @@
 
     depends_lib-append      port:py${python.version}-dateutil \
                             port:py${python.version}-lxml \
-                            port:py${python.version}-networkx
+                            port:py${python.version}-networkx \
+                            port:py${python.version}-six
 
-    # testing works only for Python 2
-    if { ${python.version} < 30 } {
-        depends_lib-append  port:py${python.version}-pydot
-        test.run            yes
-    }
+    # test dependency, disabled py34-pydot currently not available
+    #depends_lib-append      port:py${python.version}-pydot
 
-    # adding documentation
+    # Adding documentation
     post-destroot {
         set dest_doc ${destroot}${prefix}/share/doc/${subport}
         xinstall -d  ${dest_doc}
@@ -57,4 +59,8 @@
     }
 
     livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   [lindex ${master_sites} 0]
+    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150424/f7a2fb45/attachment-0001.html>


More information about the macports-changes mailing list