Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 468226
Collapse All | Expand All

(-)pymongo-2.5.ebuild (-2 / +11 lines)
Lines 4-10 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
7
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
8
8
9
inherit check-reqs distutils-r1
9
inherit check-reqs distutils-r1
10
10
Lines 23-28 Link Here
23
	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
23
	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
24
	test? ( dev-python/nose[${PYTHON_USEDEP}] )
24
	test? ( dev-python/nose[${PYTHON_USEDEP}] )
25
	kerberos? ( dev-python/pykerberos )"
25
	kerberos? ( dev-python/pykerberos )"
26
DISTUTILS_IN_SOURCE_BUILD=1
26
27
27
reqcheck() {
28
reqcheck() {
28
	if use test; then
29
	if use test; then
Lines 100-106 Link Here
100
	done
101
	done
101
102
102
	local failed
103
	local failed
103
	nosetests || failed=1
104
	if [[ "${EPYTHON}" == python3* ]]; then
105
		pushd build/lib > /dev/null
106
		mv ../../test . || die
107
		2to3 --no-diffs -w test
108
		nosetests -e test_config_ssl test ./test || failed=1
109
		mv test ../../ || die
110
	else
111
		nosetests test -e test_config_ssl -e test_socket_reclamation test || failed=1
112
	fi
104
113
105
	mongod --dbpath "${dbpath}" --shutdown
114
	mongod --dbpath "${dbpath}" --shutdown
106
115

Return to bug 468226