commit:     8ba6178def1a0070df7186160145645394ca8527
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  4 18:52:28 2023 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Dec  4 18:52:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba6178d

sys-process/bpytop: enable py3.12

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 sys-process/bpytop/bpytop-1.0.68-r1.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sys-process/bpytop/bpytop-1.0.68-r1.ebuild 
b/sys-process/bpytop/bpytop-1.0.68-r1.ebuild
index 3656a5c1c26a..78fa09a9c613 100644
--- a/sys-process/bpytop/bpytop-1.0.68-r1.ebuild
+++ b/sys-process/bpytop/bpytop-1.0.68-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 
 inherit distutils-r1
 
@@ -37,3 +37,10 @@ src_install() {
        doins bpytop-themes/*.theme
        distutils-r1_src_install
 }
+
+python_test() {
+       EPYTEST_DESELECT=(
+               tests/test_functions.py::test_get_cpu_core_mapping
+       )
+       epytest
+}

Reply via email to