From 26bed05cf076b6d5c06b14aa417046fd5301ba25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 29 May 2023 16:50:08 +0200 Subject: [PATCH] dev-python/immutables: Enable py3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/immutables/immutables-0.19.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/immutables/immutables-0.19.ebuild b/dev-python/immutables/immutables-0.19.ebuild index 00ef84fe22655..7fb45800af2df 100644 --- a/dev-python/immutables/immutables-0.19.ebuild +++ b/dev-python/immutables/immutables-0.19.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 @@ -28,6 +28,10 @@ distutils_enable_tests pytest src_prepare() { sed -i -e '/mypy/d' tests/conftest.py || die distutils-r1_src_prepare + + # workaround check removed from python3.12 + # https://github.com/MagicStack/immutables/pull/103 + export CFLAGS="${CFLAGS} -DHAVE_STDARG_PROTOTYPES=1" } src_test() {