From af403890a535a6895016a5ad6fc0d08b429bc128 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 25 May 2020 21:32:16 +0200 Subject: [PATCH] dev-python/genty: Port to py3.9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/genty/genty-1.3.2.ebuild | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/dev-python/genty/genty-1.3.2.ebuild b/dev-python/genty/genty-1.3.2.ebuild index 68df7a34cfe0..15cbbcc63c39 100644 --- a/dev-python/genty/genty-1.3.2.ebuild +++ b/dev-python/genty/genty-1.3.2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) inherit distutils-r1 @@ -14,17 +14,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="Apache-2.0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] +DEPEND=" test? ( dev-python/mock[${PYTHON_USEDEP}] ) " -python_test() { - esetup.py test --verbose -} +distutils_enable_tests setup.py -- 2.26.2