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

Last change on this file was 130509, checked in by larryv@…, 3 years ago

py{25,32}-rdflib: Replace with py34

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