From 8e5fadc4dd6870249681858dd743498896a51231 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 25 Mar 2020 10:44:42 +0100 Subject: [PATCH] dev-python/rebulk: Call pytest directly MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/rebulk/rebulk-0.9.0.ebuild | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) 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 -} -- 2.26.2