# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils MY_PN="RDFAlchemy" MY_P="${MY_PN}-${PV/_beta/b}" SUFFIX="dev-r106" DESCRIPTION="Provides intuitive access to RDF values through dot notation." HOMEPAGE="http://www.openvest.com/trac/wiki/RDFAlchemy" SRC_URI="http://www.openvest.com/public/downloads/${MY_P}.tar.gz" LICENSE="MIT" KEYWORDS="~x86" SLOT="0" IUSE="test" RDEPEND=">=dev-python/rdflib-2.4.0 >=dev-python/setuptools-0.6_rc7-r1" DEPEND="${RDEPEND} test? ( dev-python/nose )" S="${WORKDIR}/${MY_P}${SUFFIX}" src_test() { #Requires server not available to us rm test/{joseki_test.py,sesame*} PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed" }