diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-06 16:46:42 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-06 17:07:29 +0200 |
commit | 0d8c406e1aa9c73aaa6af7abebfe7d74101f89c8 (patch) | |
tree | 71487d4316d39b7e576c4eeb00cbb3225f909364 /dev-python/pypy3_10 | |
parent | dev-python/hypothesis: Bump to 6.87.2 (diff) | |
download | gentoo-0d8c406e1aa9c73aaa6af7abebfe7d74101f89c8.tar.gz gentoo-0d8c406e1aa9c73aaa6af7abebfe7d74101f89c8.tar.bz2 gentoo-0d8c406e1aa9c73aaa6af7abebfe7d74101f89c8.zip |
dev-python/pypy3_10: Fix missing test extensions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypy3_10')
-rw-r--r-- | dev-python/pypy3_10/pypy3_10-7.3.13-r1.ebuild (renamed from dev-python/pypy3_10/pypy3_10-7.3.13.ebuild) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/pypy3_10/pypy3_10-7.3.13.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.13-r1.ebuild index c3cd1b2bb121..eadc6fd3034c 100644 --- a/dev-python/pypy3_10/pypy3_10-7.3.13.ebuild +++ b/dev-python/pypy3_10/pypy3_10-7.3.13-r1.ebuild @@ -123,7 +123,7 @@ src_compile() { cffi_targets=( pypy_util blake2/_blake2 sha3/_sha3 ssl audioop syslog pwdgrp resource lzma posixshmem - testmultiphase + ctypes_test testmultiphase ) use gdbm && cffi_targets+=( gdbm ) use ncurses && cffi_targets+=( curses ) @@ -138,6 +138,8 @@ src_compile() { # tkinter doesn't work via -m ../pypy${PYVER}-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" done + # testcapi does not have a "build" script + ../pypy${PYVER}-c -c "import _testcapi" || die # Verify that CFFI module list is up-to-date local expected_cksum=63d4659f @@ -154,7 +156,7 @@ src_compile() { fi # Cleanup temporary objects - find -name "*_cffi.[co]" -delete || die + find \( -name "*_cffi.c" -o -name '*.o' \) -delete || die find -type d -empty -delete || die } |