Skip to content

Commit

Permalink
dev-python/setuptools: Add python3 USEDEP support to dev-python/mock
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Aug 24, 2015
1 parent 288fcff commit f306395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-python/setuptools/setuptools-18.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
)
"

Expand All @@ -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

Expand Down

0 comments on commit f306395

Please sign in to comment.