dev-python/setuptools: Add python3 USEDEP support to dev-python/mock

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-08-24 10:55:37 +02:00
parent 288fcff7c3
commit f306395782

View File

@@ -21,7 +21,7 @@ RDEPEND=">=dev-python/packaging-15.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
dev-python/pytest[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
dev-python/mock[${PYTHON_USEDEP}]
)
"
@@ -31,7 +31,7 @@ DISTUTILS_IN_SOURCE_BUILD=1
DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
python_prepare_all() {
rm -r ./pkg_resources/_vendor/packaging || die
rm -r ./pkg_resources/_vendor || die
# disable tests requiring a network connection
rm setuptools/tests/test_packageindex.py || die