From: Michał Górny Date: Mon, 25 May 2020 19:32:16 +0000 (+0200) Subject: dev-python/genty: Port to py3.9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af403890a535a6895016a5ad6fc0d08b429bc128;p=gentoo.git dev-python/genty: Port to py3.9 Signed-off-by: Michał Górny --- 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