commit: a30a8f7a306b656bb44dabb71618b188a6f6be2b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 15:34:43 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 16:25:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30a8f7a
dev-python/pyasynchat: Enable py3.13, fix deps
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyasynchat/pyasynchat-1.0.4.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
index b5a328e71004..ba48e9e8acdc 100644
--- a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
+++ b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild
@@ -4,13 +4,13 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_12 )
+PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 pypi
DESCRIPTION="Make asynchat available for Python 3.12 onwards"
HOMEPAGE="
- https://github.com/simonrob/pyasynchat
+ https://github.com/simonrob/pyasynchat/
https://pypi.org/project/pyasynchat/
"
@@ -18,9 +18,12 @@ LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
-RDEPEND=">=dev-python/pyasyncore-1.0.2[${PYTHON_USEDEP}]"
+RDEPEND="
+ >=dev-python/pyasyncore-1.0.2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
python_test() {
- # Can't use d_e_t unittest (bug #926964)
eunittest tests
}