commit:     4cb899440383424e8eb13d3affff1b27d8ab1e00
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  2 03:14:56 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun  2 03:14:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb89944

dev-python/aiohttp: Set AIOHTTP_NO_EXTENSIONS=1 for PyPy3 too

Set AIOHTTP_NO_EXTENSIONS=1 for PyPy3 builds to avoid unnecessary
dev-python/pkgconfig dep.

Closes: https://bugs.gentoo.org/957003
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/aiohttp/aiohttp-3.12.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/aiohttp/aiohttp-3.12.6.ebuild 
b/dev-python/aiohttp/aiohttp-3.12.6.ebuild
index cbafed84b336..f7f9c3ca295c 100644
--- a/dev-python/aiohttp/aiohttp-3.12.6.ebuild
+++ b/dev-python/aiohttp/aiohttp-3.12.6.ebuild
@@ -97,7 +97,7 @@ python_configure() {
 python_compile() {
        local -x AIOHTTP_USE_SYSTEM_DEPS=1
        # implicitly disabled for pypy3
-       if ! use native-extensions; then
+       if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then
                local -x AIOHTTP_NO_EXTENSIONS=1
        fi
 

Reply via email to