# $Id: Portfile 83751 2011-09-10 16:39:04Z jmr@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-rdflib
version			2.4.0
categories		python textproc
platforms		darwin
maintainers		eikeon.com:eikeon openmaintainer
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).

homepage		http://rdflib.net/
master_sites	${homepage}
distname		rdflib-${version}
checksums		md5     ce7c73ffd2fe8a4a527143168bc91058 \
				sha1    89e47b38ddd6c3386db21cc4f433762287e334e2 \
				rmd160  0d0ce273d11fc4fc06313c76691186f2be1588a2
depends_lib-append	port:py24-distribute

test.run		yes
test.cmd		${python.bin} run_tests.py
test.target

post-destroot {
	xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE \
		README ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/examples/example.py \
		${destroot}${prefix}/share/doc/${name}/examples
}
