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

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

py-rdflib: Update to version 4.1.1. Removed support for py24 which is no longer supported upstream. Added py32 and py33 sub-ports. (#39642)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 119031 2014-04-15 17:36:59Z macsforever2000@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5PortGroup github 1.0
6
7github.setup    RDFLib rdflib 4.1.1
8name                    py-rdflib
9
10categories-append       textproc
11license                 BSD
12platforms               darwin
13maintainers             eikeon.com:eikeon openmaintainer
14description             Python library for working with RDF
15long_description        RDFLib is a Python library for working with RDF, a \
16                                simple yet powerful language for representing \
17                                information. The library contains an RDF/XML \
18                                parser/serializer, a TripleStore, an InformationStore \
19                                and various store backends (InMemory, SleepyCat BTree, \
20                                ZODB BTree).
21
22homepage                http://code.google.com/p/rdflib/
23distname                rdflib-${version}
24
25checksums           md5     8fed08d5eba84334da9834bf8491b122 \
26                    rmd160  af030ab3b1405fa3b46098107a2c5561c80f8b1d \
27                    sha256  54b17ab073daefd02a7173d85cb7ea915010d05a1fb2351956e1ccca644228c1
28
29python.versions 25 26 27 32 33
30
31if {${name} ne ${subport}} {
32    depends_lib-append  port:py${python.version}-setuptools
33
34    depends_run-append  port:py${python.version}-isodate \
35                        port:py${python.version}-html5lib
36
37    test.run            yes
38    test.cmd            ${python.bin} run_tests.py
39    test.target
40
41    post-destroot {
42        xinstall -m 644 -W ${worksrcpath} CHANGELOG.md LICENSE \
43            README.md ${destroot}${prefix}/share/doc/${subport}
44        eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
45            ${destroot}${prefix}/share/doc/${subport}/examples
46    }
47    livecheck.type      none
48} else {
49    livecheck.type      googlecode
50}
Note: See TracBrowser for help on using the repository browser.