source: trunk/dports/python/py-rdflib/Portfile @ 106911

Last change on this file since 106911 was 106911, checked in by jmr@…, 6 years ago

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-rdflib
7version                 2.4.2
8categories-append       textproc
9license                 BSD
10platforms               darwin
11maintainers             mnick eikeon.com:eikeon openmaintainer
12description             Python library for working with RDF
13long_description        RDFLib is a Python library for working with RDF, a \
14                                simple yet powerful language for representing \
15                                information. The library contains an RDF/XML \
16                                parser/serializer, a TripleStore, an InformationStore \
17                                and various store backends (InMemory, SleepyCat BTree, \
18                                ZODB BTree).
19
20homepage                http://rdflib.net/
21master_sites    ${homepage}
22distname                rdflib-${version}
23checksums               md5    921390cacfebf97384bd5ac33c38d327 \
24                                sha1   95d72c3db0b2c6b71048aa7ab36f6a7da35a2aee \
25                                rmd160 2f6d93cc0eaef3d6d3c32fc85039faea78438c49
26
27python.versions 24 25 26
28
29if {$subport != $name} {
30    depends_lib-append  port:py${python.version}-setuptools
31
32    test.run            yes
33    test.cmd            ${python.bin} run_tests.py
34    test.target
35
36    post-destroot {
37        xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE \
38            README ${destroot}${prefix}/share/doc/${subport}
39        xinstall -m 644 ${worksrcpath}/examples/example.py \
40            ${destroot}${prefix}/share/doc/${subport}/examples
41    }
42    livecheck.type      none
43} else {
44    livecheck.type regex
45    livecheck.regex <p>Get the latest vere?sion <a href=\"http://rdflib.net/rdflib-(.*).tar.gz\">
46}
Note: See TracBrowser for help on using the repository browser.