commit:     d0fcaac9b50182cbf977ce95c071988187eca053
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 07:22:09 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 07:47:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0fcaac9

dev-python/fastbencode: Fix testing the C ext, remove broken py3.12

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

 dev-python/fastbencode/fastbencode-0.2.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/fastbencode/fastbencode-0.2.ebuild 
b/dev-python/fastbencode/fastbencode-0.2.ebuild
index 2eb4c468cacb..f884ac6d4ab5 100644
--- a/dev-python/fastbencode/fastbencode-0.2.ebuild
+++ b/dev-python/fastbencode/fastbencode-0.2.ebuild
@@ -5,13 +5,13 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 pypi
 
 DESCRIPTION="Implementation of bencode with optional fast C extensions"
 HOMEPAGE="
-       https://github.com/breezy-team/fastbencode
+       https://github.com/breezy-team/fastbencode/
        https://pypi.org/project/fastbencode/
 "
 
@@ -24,3 +24,8 @@ BDEPEND="
 "
 
 distutils_enable_tests unittest
+
+python_test() {
+       cd fastbencode/tests || die
+       eunittest
+}

Reply via email to