dev-python/toml: Port to py3.9
authorMichał Górny <mgorny@gentoo.org>
Mon, 25 May 2020 14:57:15 +0000 (16:57 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 25 May 2020 16:16:39 +0000 (18:16 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/toml/toml-0.10.1.ebuild

index e0c1f393ad3314b2cc4e6e8c89abdc84a669c0a9..02c4445df242c9a51ae9fb1c995f1d53a7eea305 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
 
 inherit distutils-r1
 
@@ -20,7 +20,11 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 
 BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' 'python3*') )"
+       test? (
+               $(python_gen_cond_dep '
+                       dev-python/numpy[${PYTHON_USEDEP}]
+               ' python3_{6,7,8})
+       )"
 
 DOCS=( README.rst )
 PATCHES=(