From ec97f692eb7fd3a8cf168b9b49685b4a5b45fbd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 1 Jun 2020 21:03:04 +0200 Subject: [PATCH] dev-python/async_generator: Port to py39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../async_generator/async_generator-1.10.ebuild | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/dev-python/async_generator/async_generator-1.10.ebuild b/dev-python/async_generator/async_generator-1.10.ebuild index 87b3ff8f04604..51b8ddbb51881 100644 --- a/dev-python/async_generator/async_generator-1.10.ebuild +++ b/dev-python/async_generator/async_generator-1.10.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -14,14 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( MIT Apache-2.0 )" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" DOCS=( README.rst ) -python_test() { - pytest -vv || die "tests failed under ${EPYTHON}" -} +distutils_enable_tests pytest