# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name			py25-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:py25-distribute

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

post-destroot {
	move ${destroot}${prefix}/bin/rdfpipe \
		${destroot}${prefix}/bin/rdfpipe-${python.branch}
	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\">
