From: Michał Górny Date: Mon, 16 Dec 2019 14:17:08 +0000 (+0100) Subject: dev-python/entrypoints: Set DISTUTILS_USE_SETUPTOOLS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c453986bafc57717c6a9c8e1de01350af2ea5b4;p=gentoo.git dev-python/entrypoints: Set DISTUTILS_USE_SETUPTOOLS Signed-off-by: Michał Górny --- diff --git a/dev-python/entrypoints/entrypoints-0.3-r1.ebuild b/dev-python/entrypoints/entrypoints-0.3-r1.ebuild index da55a0a76990..2f28407b7f56 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 )