From 93930d8c1a2f73f7c1f6f658477c903c65c47782 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 26 Apr 2020 13:41:20 +0200 Subject: [PATCH] dev-python/pyrqlite: Sync the live ebuild MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyrqlite/pyrqlite-9999.ebuild | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/dev-python/pyrqlite/pyrqlite-9999.ebuild b/dev-python/pyrqlite/pyrqlite-9999.ebuild index 342b0c8e9e27..4ad296a7f2cd 100644 --- a/dev-python/pyrqlite/pyrqlite-9999.ebuild +++ b/dev-python/pyrqlite/pyrqlite-9999.ebuild @@ -17,22 +17,10 @@ HOMEPAGE="https://github.com/rqlite/pyrqlite" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - )" +distutils_enable_tests pytest src_prepare() { sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/${PN}/constants.py || die distutils-r1_src_prepare } - -python_test() { - esetup.py test || die "tests failed" - esetup.py lint -f text -E || die "pylint failed" -} -- 2.26.2