From dd937cfab2cda03f3ce0053312786499745f202f Mon Sep 17 00:00:00 2001 From: Petr Vaněk Date: Tue, 21 Feb 2023 16:36:32 +0100 Subject: dev-python/pocketlint: enable py3.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - enable python3.11 support - enable tests, the same way how upstream runs the CI Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/29705 Signed-off-by: Sam James --- dev-python/pocketlint/pocketlint-0.24.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-python/pocketlint') diff --git a/dev-python/pocketlint/pocketlint-0.24.ebuild b/dev-python/pocketlint/pocketlint-0.24.ebuild index c546d6ff289a..6aacc9d7bff0 100644 --- a/dev-python/pocketlint/pocketlint-0.24.ebuild +++ b/dev-python/pocketlint/pocketlint-0.24.ebuild @@ -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}" +} -- cgit v1.2.3-65-gdbad