commit:     0c761a80160b2103f39e625fd6069b061f1ce3b9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 03:42:33 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 04:01:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c761a80

dev-python/logutils: Enable py3.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/logutils/logutils-0.3.5-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/logutils/logutils-0.3.5-r1.ebuild 
b/dev-python/logutils/logutils-0.3.5-r1.ebuild
index 78283ceaa872..a16f629634b3 100644
--- a/dev-python/logutils/logutils-0.3.5-r1.ebuild
+++ b/dev-python/logutils/logutils-0.3.5-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
 
@@ -16,4 +16,8 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
 
-distutils_enable_tests setup.py
+distutils_enable_tests unittest
+
+python_test() {
+       eunittest -s tests
+}

Reply via email to