diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-01-09 18:41:29 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-01-10 18:34:33 +0100 |
commit | 496ddfcc047cdad17456532b3045dfd4c1e829b7 (patch) | |
tree | 4852ce32f40f94d202e20fa3ea0cc9b21ced399b /eclass/python-utils-r1.eclass | |
parent | dev-util/maturin: add 0.14.9 (diff) | |
download | gentoo-496ddfcc047cdad17456532b3045dfd4c1e829b7.tar.gz gentoo-496ddfcc047cdad17456532b3045dfd4c1e829b7.tar.bz2 gentoo-496ddfcc047cdad17456532b3045dfd4c1e829b7.zip |
python-utils-r1.eclass: restore support for jython2_7 in python_optimize
The eclass was modified to drop support for Python 2.7, however as
unintended side effect, support for Jython 2.7 was also removed in
python_optimize().
Fixes: 3b11f851df5e ("python-utils-r1.eclass: Clean up post disabling python2_7 compat")
Closes: https://bugs.gentoo.org/885971
Closes: https://github.com/gentoo/gentoo/pull/29038
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 568b2dbdfa46..83bf5d035c4a 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: python-utils-r1.eclass @@ -633,7 +633,7 @@ python_optimize() { # Python 3.9+ "${PYTHON}" -m compileall -j "${jobs}" -o 0 -o 1 -o 2 --hardlink-dupes -q -f -d "${instpath}" "${d}" ;; - pypy) + pypy|jython2.7) "${PYTHON}" -m compileall -q -f -d "${instpath}" "${d}" ;; *) |