commit:     2a7a3acdb7f4376bed46e53e96162a268812fd40
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  7 20:32:07 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar  7 20:38:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7a3acd

dev-python/psycopg: Enable pypy3.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/psycopg/psycopg-3.2.5.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/psycopg/psycopg-3.2.5.ebuild 
b/dev-python/psycopg/psycopg-3.2.5.ebuild
index ff3f6d52b026..e64110803551 100644
--- a/dev-python/psycopg/psycopg-3.2.5.ebuild
+++ b/dev-python/psycopg/psycopg-3.2.5.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
 
 inherit distutils-r1
 
@@ -59,7 +59,7 @@ python_compile() {
        distutils-r1_python_compile
 
        # optional C backend
-       if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then
+       if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then
                local DISTUTILS_USE_PEP517=standalone
                cd ../psycopg_c || die
                distutils-r1_python_compile
@@ -96,7 +96,7 @@ python_test() {
        )
 
        local impls=( python )
-       if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then
+       if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then
                impls+=( c )
        fi
 

Reply via email to