From eaef3fae4e55473cd4fbd4fd3d0086624f0af50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 3 Jun 2020 07:37:23 +0200 Subject: [PATCH] dev-python/iocapture: Port to py39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/iocapture/iocapture-0.1.2-r2.ebuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/dev-python/iocapture/iocapture-0.1.2-r2.ebuild b/dev-python/iocapture/iocapture-0.1.2-r2.ebuild index 3b9cb84cb71fb..216c2210675d3 100644 --- a/dev-python/iocapture/iocapture-0.1.2-r2.ebuild +++ b/dev-python/iocapture/iocapture-0.1.2-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{3_6,3_7,3_8} pypy3 ) +PYTHON_COMPAT=( python3_{6..9} pypy3 ) inherit distutils-r1 @@ -14,17 +14,10 @@ SRC_URI="https://github.com/oinume/iocapture/archive/${PV}.tar.gz -> ${P}.tar.gz SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" LICENSE="MIT" -IUSE="test" -RESTRICT="!test? ( test )" -RDEPEND="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +BDEPEND=" test? ( - dev-python/pytest[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - ${RDEPEND} )" -python_test() { - pytest -vv || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests pytest