Permalink
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (41 sloc) 1.86 KB
# -*- 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
PortGroup github 1.0
github.setup RDFLib rdflib 4.2.2
name py-rdflib
categories-append textproc
license BSD
platforms darwin
maintainers nomaintainer
description Python library for working with RDF
long_description RDFLib is a Python library for working with RDF, a \
simple yet powerful language for representing \
information. The library contains an RDF/XML \
parser/serializer, a TripleStore, an InformationStore \
and various store backends (InMemory, SleepyCat BTree, \
ZODB BTree).
checksums rmd160 320af9a70140edd415d46e821c9de21d69f88ec4 \
sha256 46db7d1844c03771559320cdbcf20074fb20b8b4643c7b0ac1b36da339f9788b
python.versions 27 35 36
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
depends_run-append port:py${python.version}-isodate \
port:py${python.version}-html5lib
# Python 3+ needs more commands to test
if {${python.version} == 27} {
depends_test-append port:py${python.version}-nose
test.run yes
test.cmd nosetests-${python.branch}
test.target test
test.env PYTHONPATH=${worksrcpath}/build/lib
test.target
}
post-destroot {
xinstall -m 644 -W ${worksrcpath} CHANGELOG.md LICENSE \
README.md ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 {*}[glob ${worksrcpath}/examples/*] \
${destroot}${prefix}/share/doc/${subport}/examples
}
livecheck.type none
}