From: Michał Górny Date: Sun, 26 Apr 2020 11:41:20 +0000 (+0200) Subject: dev-python/pyrqlite: Sync the live ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93930d8c1a2f73f7c1f6f658477c903c65c47782;p=gentoo.git dev-python/pyrqlite: Sync the live ebuild Signed-off-by: Michał Górny --- 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" -}