diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-26 13:41:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-26 14:50:48 +0200 |
commit | 93930d8c1a2f73f7c1f6f658477c903c65c47782 (patch) | |
tree | 83af467765bda2b55a888321370f20a24aa898e9 /dev-python/pyrqlite | |
parent | package.mask: Last rite dev-python/sphinxcontrib-googleanalytics (diff) | |
download | gentoo-93930d8c1a2f73f7c1f6f658477c903c65c47782.tar.gz gentoo-93930d8c1a2f73f7c1f6f658477c903c65c47782.tar.bz2 gentoo-93930d8c1a2f73f7c1f6f658477c903c65c47782.zip |
dev-python/pyrqlite: Sync the live ebuild
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyrqlite')
-rw-r--r-- | dev-python/pyrqlite/pyrqlite-9999.ebuild | 14 |
1 files changed, 1 insertions, 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" -} |