Lines 1-9
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2013 Gentoo Foundation |
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/setuptools/setuptools-0.6.33.ebuild,v 1.4 2013/02/21 03:17:10 zmedico Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="5" |
5 |
EAPI="5" |
6 |
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9,2_0} ) |
6 |
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} ) |
7 |
|
7 |
|
8 |
inherit distutils-r1 eutils |
8 |
inherit distutils-r1 eutils |
9 |
|
9 |
|
Lines 31-48
Link Here
|
31 |
python_prepare_all() { |
31 |
python_prepare_all() { |
32 |
local PATCHES=( |
32 |
local PATCHES=( |
33 |
"${FILESDIR}/${PN}-0.6_rc7-noexe.patch" |
33 |
"${FILESDIR}/${PN}-0.6_rc7-noexe.patch" |
34 |
"${FILESDIR}/distribute-0.6.16-fix_deprecation_warnings.patch" |
34 |
"${FILESDIR}/distribute-0.6.16-fix_deprecation_warnings.patch" |
|
|
35 |
# "${FILESDIR}"/skip-test.patch |
35 |
) |
36 |
) |
36 |
|
37 |
|
37 |
# Disable tests requiring network connection. |
38 |
# Disable tests requiring network connection. |
38 |
rm -f setuptools/tests/test_packageindex.py |
39 |
rm -f setuptools/tests/test_packageindex.py |
|
|
40 |
sed -e 's:test_setup_requires_honors_fetch_params:_&:' \ |
41 |
-i setuptools/tests/test_easy_install.py || die |
39 |
|
42 |
|
40 |
distutils-r1_python_prepare_all |
43 |
distutils-r1_python_prepare_all |
41 |
} |
44 |
} |
42 |
|
45 |
|
43 |
python_test() { |
46 |
python_test() { |
44 |
# they fail with everything but py2.6 & 2.7 |
47 |
# they fail with everything but py2.6 & 2.7 |
45 |
esetup.py test |
48 |
pushd "${BUILD_DIR}"/../ |
|
|
49 |
"${PYTHON}" setup.py test || die |
46 |
} |
50 |
} |
47 |
|
51 |
|
48 |
python_install() { |
52 |
python_install() { |