Ticket #8630: Portfile

File Portfile, 951 bytes (added by macfreek (Freek Dijkstra), 18 years ago)

Portfile for 2.3.1 release, based on 2.0.4 Portfile

Line 
1# $Id: $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-rdflib
7version                 2.3.1
8categories              python textproc
9platforms               darwin freebsd
10maintainers             mww@opendarwin.org
11description             Python library for working with RDF
12long_description        RDFLib is a Python library for working with RDF, a \
13                                simple yet powerful language for representing \
14                                information. The library contains an RDF/XML \
15                                parser/serializer, a TripleStore, an InformationStore \
16                                and various store backends (InMemory, SleepyCat BTree, \
17                                ZODB BTree).
18
19homepage                http://rdflib.net/
20master_sites    ${homepage}2006/02/27/
21distname                rdflib-${version}
22checksums               md5 50876327771dc5a6cf07bf4f26a63187
23
24test.run                yes
25test.cmd                ${python.bin} run_tests.py
26test.target
27
28post-destroot   {
29        xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE \
30                README ${destroot}${prefix}/share/doc/${name}
31        xinstall -m 644 ${worksrcpath}/example.py \
32                ${destroot}${prefix}/share/doc/${name}/examples
33}