Skip to content

Commit

Permalink
python-utils-r1.eclass: Disable jython2_5
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Dec 9, 2015
1 parent d3bcceb commit f16b1c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions eclass/python-utils-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ declare -g -r _PYTHON_ALL_IMPLS=(
python2_7
python3_3 python3_4 python3_5
pypy pypy3
jython2_5 jython2_7
jython2_7
)

# @FUNCTION: _python_impl_supported
Expand All @@ -67,7 +67,7 @@ _python_impl_supported() {
# keep in sync with _PYTHON_ALL_IMPLS!
# (not using that list because inline patterns shall be faster)
case "${impl}" in
python2_7|python3_[345]|jython2_[57])
python2_7|python3_[345]|jython2_7)
return 0
;;
pypy1_[89]|pypy2_0|python2_[56]|python3_[12])
Expand Down Expand Up @@ -368,8 +368,6 @@ python_export() {
PYTHON_PKG_DEP='virtual/pypy:0=';;
pypy3)
PYTHON_PKG_DEP='virtual/pypy3:0=';;
jython2.5)
PYTHON_PKG_DEP='>=dev-java/jython-2.5.3-r2:2.5';;
jython2.7)
PYTHON_PKG_DEP='dev-java/jython:2.7';;
*)
Expand Down
1 change: 0 additions & 1 deletion eclass/tests/python-utils-r1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ 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 pypy3" 0
test_is "_python_impl_supported jython2_5" 0
test_is "_python_impl_supported jython2_7" 0

rm "${tmpfile}"
Expand Down

0 comments on commit f16b1c0

Please sign in to comment.