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" |
7 |
SUPPORT_PYTHON_ABIS="1" |
7 |
SUPPORT_PYTHON_ABIS="1" |
8 |
RESTRICT_PYTHON_ABIS="3.*" |
8 |
DISTUTILS_SRC_TEST="nosetests" |
9 |
|
9 |
|
10 |
inherit distutils |
10 |
inherit distutils |
11 |
|
11 |
|
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 |
|
28 |
src_test() { |
32 |
src_test() { |
29 |
testing() { |
33 |
python_execute_nosetests |
30 |
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib)" "$(PYTHON)" run_tests.py |
|
|
31 |
} |
32 |
python_execute_function testing |
33 |
} |
34 |
} |
34 |
|
35 |
|
35 |
src_install() { |
36 |
src_install() { |