summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-25 21:32:16 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-25 21:48:04 +0200
commitaf403890a535a6895016a5ad6fc0d08b429bc128 (patch)
tree3269afb0aa5e626cf35e6ded21d5a610e0a18ac4 /dev-python
parentdev-python/cryptography: Port to py3.9 (diff)
downloadgentoo-af403890a535a6895016a5ad6fc0d08b429bc128.tar.gz
gentoo-af403890a535a6895016a5ad6fc0d08b429bc128.tar.bz2
gentoo-af403890a535a6895016a5ad6fc0d08b429bc128.zip
dev-python/genty: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/genty/genty-1.3.2.ebuild13
1 files 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