aboutsummaryrefslogtreecommitdiff
blob: 1b431d41493648e060901e28e2a73d60c7d755b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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"
}