dev-python/genson: Port up to py3.9

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-11-17 15:52:16 +01:00
parent 2c5756b30a
commit b1a84dd3b9

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7})
PYTHON_COMPAT=( python3_{6..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -17,19 +17,8 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
BDEPEND="
${PYTHON_DEPS}
"
RDEPEND="
${PYTHON_DEPS}
"
DEPEND="${RDEPEND}
test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )"
RESTRICT="!test? ( test )"
python_test() {
"${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}"
}
BDEPEND="test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )"
distutils_enable_tests unittest