commit:     dd937cfab2cda03f3ce0053312786499745f202f
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Tue Feb 21 15:36:32 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 16:19:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd937cfa

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 <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/29705
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pocketlint/pocketlint-0.24.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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}"
+}

Reply via email to