From: Justin Lecher Date: Mon, 24 Aug 2015 08:55:37 +0000 (+0200) Subject: dev-python/setuptools: Add python3 USEDEP support to dev-python/mock X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f306395782c35d86d0e40bfc4458b49193aacadb;p=gentoo.git dev-python/setuptools: Add python3 USEDEP support to dev-python/mock Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- diff --git a/dev-python/setuptools/setuptools-18.2-r1.ebuild b/dev-python/setuptools/setuptools-18.2-r1.ebuild index 0d3656a5564a..8b038640bffa 100644 --- a/dev-python/setuptools/setuptools-18.2-r1.ebuild +++ b/dev-python/setuptools/setuptools-18.2-r1.ebuild @@ -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