From f46038204a524c907de3ebc16037f415117b8f25 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 10 Jul 2024 08:04:40 +0100 Subject: dev-python/mypy: fix disabling mypyc for py3.13 Signed-off-by: Sam James --- dev-python/mypy/mypy-1.10.1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dev-python/mypy') diff --git a/dev-python/mypy/mypy-1.10.1.ebuild b/dev-python/mypy/mypy-1.10.1.ebuild index b87fe789fc41..9bd317074557 100644 --- a/dev-python/mypy/mypy-1.10.1.ebuild +++ b/dev-python/mypy/mypy-1.10.1.ebuild @@ -63,14 +63,15 @@ PATCHES=( # test files (https://github.com/mypyc/mypyc/issues/1014) export CCACHE_DISABLE=1 -src_compile() { +python_compile() { local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) case ${EPYTHON} in python3.13) # https://github.com/mypyc/mypyc/issues/1056 MYPY_USE_MYPYC=0 + ;; esac - distutils-r1_src_compile + distutils-r1_python_compile } python_test() { -- cgit v1.2.3-65-gdbad