summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-06 09:22:09 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-06 09:47:43 +0200
commitd0fcaac9b50182cbf977ce95c071988187eca053 (patch)
tree8238737d9ee3c9828ee04dbb1e637553acc80577 /dev-python/fastbencode
parentkde-plasma/powerdevil: keyword 5.27.7-r1 for ~loong (diff)
downloadgentoo-d0fcaac9b50182cbf977ce95c071988187eca053.tar.gz
gentoo-d0fcaac9b50182cbf977ce95c071988187eca053.tar.bz2
gentoo-d0fcaac9b50182cbf977ce95c071988187eca053.zip
dev-python/fastbencode: Fix testing the C ext, remove broken py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/fastbencode')
-rw-r--r--dev-python/fastbencode/fastbencode-0.2.ebuild9
1 files 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
+}