# $Id: Portfile 65908 2010-04-02 22:28:17Z jmr@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name			py26-rdflib
version			2.4.2
categories		python textproc
platforms		darwin
maintainers		mnick
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     921390cacfebf97384bd5ac33c38d327 \
                    sha1    95d72c3db0b2c6b71048aa7ab36f6a7da35a2aee \
                    rmd160  2f6d93cc0eaef3d6d3c32fc85039faea78438c49

depends_lib-append	port:py26-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
}

livecheck.type regex
livecheck.regex <p>Get the latest vere?sion <a href=\"http://rdflib.net/rdflib-(.*).tar.gz\">
