dev-python/pocketlint: enable py3.11

- enable python3.11 support
- enable tests, the same way how upstream runs the CI

Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/29705
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Petr Vaněk
2023-02-21 16:36:32 +01:00
committed by Sam James
parent 092fa67ed9
commit dd937cfab2

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..10} )
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
@@ -26,3 +26,7 @@ RDEPEND="
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
"
python_test() {
"${EPYTHON}" tests/pylint/runpylint.py || die "test failed with ${EPYTHON}"
}