From b6a31bce50ffb16ca09550d5b5dfca14794a7c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Tue, 22 Sep 2020 00:07:35 +0200 Subject: [PATCH] [dev-python/aiosqlite] fix dependencies, restrict tests --- dev-python/aiosqlite/aiosqlite-0.15.0.ebuild | 23 +++++--------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/dev-python/aiosqlite/aiosqlite-0.15.0.ebuild b/dev-python/aiosqlite/aiosqlite-0.15.0.ebuild index a726dfc..8147d99 100644 --- a/dev-python/aiosqlite/aiosqlite-0.15.0.ebuild +++ b/dev-python/aiosqlite/aiosqlite-0.15.0.ebuild @@ -4,7 +4,7 @@ EAPI="7" PYTHON_COMPAT=( python3_8 ) -DISTUTILS_USE_SETUPTOOLS="bdepend" +DISTUTILS_USE_SETUPTOOLS="no" inherit distutils-r1 @@ -15,23 +15,10 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" -RDEPEND=" - >=dev-python/aiohttp-3.5.0[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] - ) -" +# lacks dev-python/aiounittest +RESTRICT="test" -distutils_enable_tests pytest +DOCS=( CHANGELOG.md README.rst ) -DOCS=( CHANGELOG.md README.md ) - -python_test() { - py.test -v tests || die "Tests failed under ${EPYTHON}" -} +distutils_enable_sphinx docs