# -*- 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 set _name prov set _n [string index ${_name} 0] name py-${_name} version 1.4.0 categories-append devel www platforms darwin supported_archs noarch license MIT maintainers petr openmaintainer 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 master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 251576e384ab87eb68bee84697e863a3 \ rmd160 a9c1c9bd7c5b6901922c47d75d7354f7226d6de4 \ sha256 2a785b406040a74220a0faf9a4657aa402a2b3e9eabcb9a157a60c95c9d422f2 python.versions 27 34 35 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 \ port:py${python.version}-six # test dependency, disabled py34-pydot currently not available #depends_lib-append port:py${python.version}-pydot # 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 } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }