commit:     93930d8c1a2f73f7c1f6f658477c903c65c47782
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 26 11:41:20 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 12:50:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93930d8c

dev-python/pyrqlite: Sync the live ebuild

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 342b0c8e9e2..4ad296a7f2c 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"
-}

Reply via email to