You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
67 lines
2.2 KiB
Tcl
67 lines
2.2 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
set _name prov
|
|
set _n [string index ${_name} 0]
|
|
|
|
name py-${_name}
|
|
version 1.5.2
|
|
categories-append www devel
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license MIT
|
|
|
|
maintainers {petr @petrrr} 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 rmd160 903454cc85f899f315f9a850aaa399916dc26086 \
|
|
sha256 640dc158d931403bc6c1a0ad80702caae71f810bac21f90ec605865c8444b7bb \
|
|
size 137477
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
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}-rdflib \
|
|
port:py${python.version}-six
|
|
|
|
# testing only
|
|
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}\""
|
|
}
|