diff --git a/dev-python/entrypoints/entrypoints-0.3-r1.ebuild b/dev-python/entrypoints/entrypoints-0.3-r1.ebuild index da55a0a76990a..2f28407b7f56f 100644 --- a/dev-python/entrypoints/entrypoints-0.3-r1.ebuild +++ b/dev-python/entrypoints/entrypoints-0.3-r1.ebuild @@ -3,6 +3,7 @@ EAPI=7 +DISTUTILS_USE_SETUPTOOLS=no PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7,8}} ) inherit distutils-r1 @@ -15,9 +16,9 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~ia64 ~sparc ~x86" IUSE="test" +RESTRICT="!test? ( test )" DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] $(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*') test? ( dev-python/pytest[${PYTHON_USEDEP}] @@ -25,8 +26,6 @@ DEPEND=" ) " -RESTRICT="!test? ( test )" - PATCHES=( "${FILESDIR}/${PN}"-0.2.1-init.py.patch )