commit: 82faaaa28ec97a12ab74abae30e5b1f3ffa4d277
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 14:01:08 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 13 14:03:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82faaaa2
dev-python/immutables: Enable py3.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/immutables/immutables-0.20.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev-python/immutables/immutables-0.20.ebuild
b/dev-python/immutables/immutables-0.20.ebuild
index 9d290cc6d6e8..a3dda207372a 100644
--- a/dev-python/immutables/immutables-0.20.ebuild
+++ b/dev-python/immutables/immutables-0.20.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1
@@ -40,6 +40,13 @@ python_compile() {
# upstream controls NDEBUG explicitly
use debug && local -x DEBUG_IMMUTABLES=1
local -x IMMUTABLES_EXT=$(usex native-extensions 1 0)
+ case ${EPYTHON} in
+ python3.13)
+ # https://github.com/MagicStack/immutables/issues/116
+ IMMUTABLES_EXT=0
+ ;;
+ esac
+
distutils-r1_python_compile
}