* With the EOL of CPython 2, we also want to
remove support for PyPy (i.e. PyPy for Python 2).
This change does not affect PyPy3, i.e. Pypy for
Python 3.
Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
# All supported Python implementations, most preferred last.
_PYTHON_ALL_IMPLS=(
jython2_7
- pypy pypy3
+ pypy3
python2_7
python3_6 python3_7 python3_8
)
# keep in sync with _PYTHON_ALL_IMPLS!
# (not using that list because inline patterns shall be faster)
case "${impl}" in
- python2_7|python3_[678]|jython2_7|pypy|pypy3)
+ python2_7|python3_[678]|jython2_7|pypy3)
return 0
;;
- pypy1_[89]|pypy2_0|python2_[56]|python3_[12345])
+ pypy|pypy1_[89]|pypy2_0|python2_[56]|python3_[12345])
return 1
;;
*)
test_is "_python_impl_supported pypy1_8" 1
test_is "_python_impl_supported pypy1_9" 1
test_is "_python_impl_supported pypy2_0" 1
-test_is "_python_impl_supported pypy" 0
+test_is "_python_impl_supported pypy" 1
test_is "_python_impl_supported pypy3" 0
test_is "_python_impl_supported jython2_7" 0