[132213] trunk/dports/python

petr at macports.org petr at macports.org
Mon Jan 26 08:23:04 PST 2015


Revision: 132213
          https://trac.macports.org/changeset/132213
Author:   petr at macports.org
Date:     2015-01-26 08:23:04 -0800 (Mon, 26 Jan 2015)
Log Message:
-----------
py-prov: new port

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

Added: trunk/dports/python/py-prov/Portfile
===================================================================
--- trunk/dports/python/py-prov/Portfile	                        (rev 0)
+++ trunk/dports/python/py-prov/Portfile	2015-01-26 16:23:04 UTC (rev 132213)
@@ -0,0 +1,60 @@
+# -*- 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           python 1.0
+PortGroup           github 1.0
+
+github.setup        trungdong prov 1.2.0
+
+name                py-${github.project}
+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.
+
+checksums           md5     0c86fc7acc3a667f0b96ff7fff7b8c84 \
+                    rmd160  2b6752e28b36a16ced00f065b79e1f69c12d01e8 \
+                    sha256  7b3b01a9bec7120a12b7c40ecf6140fdae1068898798e70fe9a6cc2b321f36e5
+
+python.versions     27 34
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:py${python.version}-dateutil \
+                            port:py${python.version}-lxml \
+                            port:py${python.version}-networkx
+
+    # testing works only for Python 2
+    if { ${python.version} < 30 } {
+        depends_lib-append  port:py${python.version}-pydot
+        test.run            yes
+    }
+
+    # adding documentation
+    post-destroot {
+        set dest_doc ${destroot}${prefix}/share/doc/${subport}
+        xinstall -d  ${dest_doc}
+
+        xinstall -m 755 -W ${worksrcpath} \
+            AUTHORS.rst \
+            CHANGES.txt \
+            CONTRIBUTING.rst \
+            HISTORY.rst \
+            LICENSE \
+            README.rst \
+                ${dest_doc}
+    }
+
+    livecheck.type  none
+}


Property changes on: trunk/dports/python/py-prov/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150126/d5ebd59e/attachment-0001.html>


More information about the macports-changes mailing list