1 |
commit: f0f388d6e7b7990006384bd024ec5bf2d7f66737 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 30 00:48:32 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 12:58:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f388d6 |
7 |
|
8 |
python-utils-r1.eclass: Remove PYTHON_TARGETS="python3_5" |
9 |
|
10 |
* Python 3.5 will go EOL on 2020-09-13 and in order to reduce testing |
11 |
and maintenance burden, we want to keep the number of active Py3 |
12 |
impls below four. |
13 |
|
14 |
https://devguide.python.org/#status-of-python-branches |
15 |
|
16 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
17 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
18 |
|
19 |
eclass/python-utils-r1.eclass | 6 +++--- |
20 |
eclass/tests/python-utils-r1.sh | 2 +- |
21 |
2 files changed, 4 insertions(+), 4 deletions(-) |
22 |
|
23 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
24 |
index e0711a35e3a..370898bcea0 100644 |
25 |
--- a/eclass/python-utils-r1.eclass |
26 |
+++ b/eclass/python-utils-r1.eclass |
27 |
@@ -42,7 +42,7 @@ _PYTHON_ALL_IMPLS=( |
28 |
jython2_7 |
29 |
pypy pypy3 |
30 |
python2_7 |
31 |
- python3_5 python3_6 python3_7 python3_8 |
32 |
+ python3_6 python3_7 python3_8 |
33 |
) |
34 |
readonly _PYTHON_ALL_IMPLS |
35 |
|
36 |
@@ -78,10 +78,10 @@ _python_impl_supported() { |
37 |
# keep in sync with _PYTHON_ALL_IMPLS! |
38 |
# (not using that list because inline patterns shall be faster) |
39 |
case "${impl}" in |
40 |
- python2_7|python3_[5678]|jython2_7|pypy|pypy3) |
41 |
+ python2_7|python3_[678]|jython2_7|pypy|pypy3) |
42 |
return 0 |
43 |
;; |
44 |
- pypy1_[89]|pypy2_0|python2_[56]|python3_[1234]) |
45 |
+ pypy1_[89]|pypy2_0|python2_[56]|python3_[12345]) |
46 |
return 1 |
47 |
;; |
48 |
*) |
49 |
|
50 |
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh |
51 |
index e883da38cea..df77a3fcf6e 100755 |
52 |
--- a/eclass/tests/python-utils-r1.sh |
53 |
+++ b/eclass/tests/python-utils-r1.sh |
54 |
@@ -181,7 +181,7 @@ test_is "_python_impl_supported python3_1" 1 |
55 |
test_is "_python_impl_supported python3_2" 1 |
56 |
test_is "_python_impl_supported python3_3" 1 |
57 |
test_is "_python_impl_supported python3_4" 1 |
58 |
-test_is "_python_impl_supported python3_5" 0 |
59 |
+test_is "_python_impl_supported python3_5" 1 |
60 |
test_is "_python_impl_supported python3_6" 0 |
61 |
test_is "_python_impl_supported python3_7" 0 |
62 |
test_is "_python_impl_supported python3_8" 0 |