summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-04 02:58:44 +0000
committerSam James <sam@gentoo.org>2021-03-04 02:58:44 +0000
commitd09d4de51defabc5c2aab6a00cd9fed079de6e16 (patch)
treee92d158d13df0c26027cd8fc768433e8b1f0ea8c /dev-python/jsonxs
parentdev-python/jsonref: add Python 3.9 (diff)
downloadgentoo-d09d4de51defabc5c2aab6a00cd9fed079de6e16.tar.gz
gentoo-d09d4de51defabc5c2aab6a00cd9fed079de6e16.tar.bz2
gentoo-d09d4de51defabc5c2aab6a00cd9fed079de6e16.zip
dev-python/jsonxs: add Python 3.9
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/jsonxs')
-rw-r--r--dev-python/jsonxs/jsonxs-0.6.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-python/jsonxs/jsonxs-0.6.ebuild b/dev-python/jsonxs/jsonxs-0.6.ebuild
index fc4eca69873..9eb4fa1dc91 100644
--- a/dev-python/jsonxs/jsonxs-0.6.ebuild
+++ b/dev-python/jsonxs/jsonxs-0.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
@@ -15,4 +15,6 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+python_test() {
+ "${EPYTHON}" jsonxs/jsonxs.py -v || die "Tests failed with ${EPYTHON}"
+}