1 |
Hello, everyone. |
2 |
|
3 |
Here's the big batch of patches enabling EAPI 8 support in python-r1 |
4 |
eclass suite. This includes some generic fixes and cleanups. |
5 |
|
6 |
Generally: |
7 |
|
8 |
- all previously-deprecated stuff is now banned in EAPI 8 |
9 |
- some new stuff becomes deprecated and banned in EAPI 8 |
10 |
- some leftover Python 2 support code has been removed |
11 |
- some horrid old code has been refactored |
12 |
|
13 |
The extra deprecations/bans are: |
14 |
|
15 |
1. `python_moduleroot` and `python_scriptroot` vars are no longer used |
16 |
(they were removed from ::gentoo in 2016). |
17 |
|
18 |
2. `python_is_python3` is now obsolete since we don't support python2. |
19 |
Just always assume python3 ;-). |
20 |
|
21 |
3. `python_gen*` functions no longer accept -2, -3, 'python2*' |
22 |
and 'pypy' arguments that made sense only in Python 2 world, |
23 |
in EAPI 8. This will force some obsolete dep cleanup. |
24 |
|
25 |
4. `PYTHON_MULTI_USEDEP` is now banned in EAPI 8, just use |
26 |
`PYTHON_USEDEP`. |
27 |
|
28 |
5. `mydistutilsargs` has been replaced with `DISTUTILS_ARGS`. Old EAPIs |
29 |
still allow the old variable, EAPI 8 bans it. |
30 |
|
31 |
6. `distutils_install_for_testing --via-home` is now banned. |
32 |
|
33 |
Please review. |
34 |
|
35 |
--- |
36 |
|
37 |
Michał Górny (28): |
38 |
python-utils-r1.eclass: Ban private API in EAPI 8 |
39 |
python-utils-r1.eclass: Use 'dosym -r' in EAPI 8 |
40 |
python-utils-r1.eclass: Remove python_optimize support for py<3.5 |
41 |
python-utils-r1.eclass: Rename *into vars to use underscores |
42 |
python-utils-r1.eclass: Eliminate local python_is_python3 uses |
43 |
python-utils-r1.eclass: Ban py2 deps in python_gen* in EAPI 8 |
44 |
python-utils-r1.eclass: Deprecated and EAPI8-ban python_is_python3 |
45 |
python-utils-r1.eclass: Fix python_fix_shebang for py3.10+ |
46 |
python-utils-r1.eclass: Enable EAPI 8 |
47 |
python-any-r1.eclass: Remove obsolete eselect-python use |
48 |
python-any-r1.eclass: Remove obsolete PYTHON_USEDEP single-r1 hack |
49 |
python-any-r1.eclass: Enable EAPI 8 |
50 |
python-single-r1.eclass: Update doc for -2/-3 arg removal |
51 |
python-single-r1.eclass: Ban PYTHON_MULTI_USEDEP in EAPI 8 |
52 |
python-single-r1.eclass: Enable EAPI 8 |
53 |
python-r1.eclass: Update doc for -2/-3 arg removal |
54 |
multibuild.eclass: Enable EAPI 8 |
55 |
python-r1.eclass: Remove obsolete QA hack for PYTHON_USEDEP |
56 |
python-r1.eclass: Ban python_gen_usedep in EAPI 8 |
57 |
python-r1.eclass: Use 'dosym -r' in EAPI 8 |
58 |
python-r1.eclass: Enable EAPI 8 |
59 |
distutils-r1.eclass: Refactor --install-scripts rewriting logic |
60 |
distutils-r1.eclass: Replace mydistutilsargs with DISTUTILS_ARGS |
61 |
distutils-r1.eclass: Require >=pyproject2setuppy-15 |
62 |
distutils-r1.eclass: Ban dift --via-home in EAPI 8 |
63 |
distutils-r1.eclass: Remove old FreeBSD compat hack |
64 |
distutils-r1.eclass: Use 'dosym -r' in EAPI 8 |
65 |
distutils-r1.eclass: Enable EAPI 8 |
66 |
|
67 |
eclass/distutils-r1.eclass | 88 ++++++++++++++++------------ |
68 |
eclass/multibuild.eclass | 8 +-- |
69 |
eclass/python-any-r1.eclass | 34 +++-------- |
70 |
eclass/python-r1.eclass | 94 +++++++++++++---------------- |
71 |
eclass/python-single-r1.eclass | 46 ++++++++------- |
72 |
eclass/python-utils-r1.eclass | 101 +++++++++++++++++++------------- |
73 |
eclass/tests/python-utils-r1.sh | 4 ++ |
74 |
7 files changed, 195 insertions(+), 180 deletions(-) |
75 |
|
76 |
-- |
77 |
2.32.0 |