commit:     eaef3fae4e55473cd4fbd4fd3d0086624f0af50a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  3 05:37:23 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun  3 06:41:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaef3fae

dev-python/iocapture: Port to py39

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

 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 3b9cb84cb71..216c2210675 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

Reply via email to