mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/genson: Port up to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user