From: Michał Górny Date: Wed, 25 Mar 2020 09:44:42 +0000 (+0100) Subject: dev-python/rebulk: Call pytest directly X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e5fadc4dd6870249681858dd743498896a51231;p=gentoo.git dev-python/rebulk: Call pytest directly Signed-off-by: Michał Górny --- diff --git a/dev-python/rebulk/rebulk-0.9.0.ebuild b/dev-python/rebulk/rebulk-0.9.0.ebuild index 2fc79bb065de..d0df2d1455ca 100644 --- a/dev-python/rebulk/rebulk-0.9.0.ebuild +++ b/dev-python/rebulk/rebulk-0.9.0.ebuild @@ -14,17 +14,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT Apache-2.0" SLOT="0" KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] - ) -" + +distutils_enable_tests pytest python_prepare_all() { # Remove base64-encoded zip archive with pytest. @@ -35,7 +28,3 @@ python_prepare_all() { distutils-r1_python_prepare_all } - -python_test() { - esetup.py test -}