Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 401657 | Differences between
and this patch

Collapse All | Expand All

(-)rdflib.orig/rdflib-3.2.0.ebuild (-9 / +14 lines)
Lines 2-11 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-3.2.0.ebuild,v 1.2 2011/09/12 21:20:56 neurogeek Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-3.2.0.ebuild,v 1.2 2011/09/12 21:20:56 neurogeek Exp $
4
4
5
EAPI="3"
5
EAPI="4"
6
PYTHON_DEPEND="2"
6
PYTHON_DEPEND="*:2.5"
7
SUPPORT_PYTHON_ABIS="1"
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="3.*"
8
DISTUTILS_SRC_TEST="nosetests"
9
RESTRICT_PYTHON_ABIS="*-jython"
9
10
10
inherit distutils
11
inherit distutils
11
12
Lines 18-35 Link Here
18
KEYWORDS="~amd64 ~x86 ~x86-linux"
19
KEYWORDS="~amd64 ~x86 ~x86-linux"
19
IUSE="berkdb examples mysql redland sqlite test"
20
IUSE="berkdb examples mysql redland sqlite test"
20
21
21
RDEPEND="berkdb? ( dev-python/bsddb3 )
22
RDEPEND="dev-python/isodate
23
	berkdb? ( dev-python/bsddb3 )
22
	mysql? ( dev-python/mysql-python )
24
	mysql? ( dev-python/mysql-python )
23
	redland? ( dev-libs/redland-bindings[python] )
25
	redland? ( dev-libs/redland-bindings[python] )
24
	sqlite? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite ) )"
26
	sqlite? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite ) )
27
	"
25
DEPEND="${RDEPEND}
28
DEPEND="${RDEPEND}
29
	dev-python/setuptools	
26
	test? ( dev-python/nose )"
30
	test? ( dev-python/nose )"
27
31
32
src_prepare() {
33
	python_copy_sources
34
}
35
28
src_test() {
36
src_test() {
29
	testing() {
37
	python_execute_nosetests
30
		PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib)" "$(PYTHON)" run_tests.py
31
	}
32
	python_execute_function testing
33
}
38
}
34
39
35
src_install() {
40
src_install() {

Return to bug 401657