public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 00/28] python-r1 suite EAPI 8 support/cleanup
@ 2021-06-20  9:55 Michał Górny
  2021-06-20  9:55 ` [gentoo-dev] [PATCH 01/28] python-utils-r1.eclass: Ban private API in EAPI 8 Michał Górny
                   ` (28 more replies)
  0 siblings, 29 replies; 36+ messages in thread
From: Michał Górny @ 2021-06-20  9:55 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Hello, everyone.

Here's the big batch of patches enabling EAPI 8 support in python-r1
eclass suite.  This includes some generic fixes and cleanups.

Generally:

- all previously-deprecated stuff is now banned in EAPI 8
- some new stuff becomes deprecated and banned in EAPI 8
- some leftover Python 2 support code has been removed
- some horrid old code has been refactored

The extra deprecations/bans are:

1. `python_moduleroot` and `python_scriptroot` vars are no longer used
   (they were removed from ::gentoo in 2016).

2. `python_is_python3` is now obsolete since we don't support python2.
   Just always assume python3 ;-).

3. `python_gen*` functions no longer accept -2, -3, 'python2*'
   and 'pypy' arguments that made sense only in Python 2 world,
   in EAPI 8.  This will force some obsolete dep cleanup.

4. `PYTHON_MULTI_USEDEP` is now banned in EAPI 8, just use
   `PYTHON_USEDEP`.

5. `mydistutilsargs` has been replaced with `DISTUTILS_ARGS`.  Old EAPIs
   still allow the old variable, EAPI 8 bans it.

6. `distutils_install_for_testing --via-home` is now banned.

Please review.

---

Michał Górny (28):
  python-utils-r1.eclass: Ban private API in EAPI 8
  python-utils-r1.eclass: Use 'dosym -r' in EAPI 8
  python-utils-r1.eclass: Remove python_optimize support for py<3.5
  python-utils-r1.eclass: Rename *into vars to use underscores
  python-utils-r1.eclass: Eliminate local python_is_python3 uses
  python-utils-r1.eclass: Ban py2 deps in python_gen* in EAPI 8
  python-utils-r1.eclass: Deprecated and EAPI8-ban python_is_python3
  python-utils-r1.eclass: Fix python_fix_shebang for py3.10+
  python-utils-r1.eclass: Enable EAPI 8
  python-any-r1.eclass: Remove obsolete eselect-python use
  python-any-r1.eclass: Remove obsolete PYTHON_USEDEP single-r1 hack
  python-any-r1.eclass: Enable EAPI 8
  python-single-r1.eclass: Update doc for -2/-3 arg removal
  python-single-r1.eclass: Ban PYTHON_MULTI_USEDEP in EAPI 8
  python-single-r1.eclass: Enable EAPI 8
  python-r1.eclass: Update doc for -2/-3 arg removal
  multibuild.eclass: Enable EAPI 8
  python-r1.eclass: Remove obsolete QA hack for PYTHON_USEDEP
  python-r1.eclass: Ban python_gen_usedep in EAPI 8
  python-r1.eclass: Use 'dosym -r' in EAPI 8
  python-r1.eclass: Enable EAPI 8
  distutils-r1.eclass: Refactor --install-scripts rewriting logic
  distutils-r1.eclass: Replace mydistutilsargs with DISTUTILS_ARGS
  distutils-r1.eclass: Require >=pyproject2setuppy-15
  distutils-r1.eclass: Ban dift --via-home in EAPI 8
  distutils-r1.eclass: Remove old FreeBSD compat hack
  distutils-r1.eclass: Use 'dosym -r' in EAPI 8
  distutils-r1.eclass: Enable EAPI 8

 eclass/distutils-r1.eclass      |  88 ++++++++++++++++------------
 eclass/multibuild.eclass        |   8 +--
 eclass/python-any-r1.eclass     |  34 +++--------
 eclass/python-r1.eclass         |  94 +++++++++++++----------------
 eclass/python-single-r1.eclass  |  46 ++++++++-------
 eclass/python-utils-r1.eclass   | 101 +++++++++++++++++++-------------
 eclass/tests/python-utils-r1.sh |   4 ++
 7 files changed, 195 insertions(+), 180 deletions(-)

-- 
2.32.0



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2021-06-20 13:24 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-20  9:55 [gentoo-dev] [PATCH 00/28] python-r1 suite EAPI 8 support/cleanup Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 01/28] python-utils-r1.eclass: Ban private API in EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 02/28] python-utils-r1.eclass: Use 'dosym -r' " Michał Górny
2021-06-20 12:48   ` Ulrich Mueller
2021-06-20 13:01     ` Michał Górny
2021-06-20 13:21   ` [gentoo-dev] [PATCH v2] " Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 03/28] python-utils-r1.eclass: Remove python_optimize support for py<3.5 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 04/28] python-utils-r1.eclass: Rename *into vars to use underscores Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 05/28] python-utils-r1.eclass: Eliminate local python_is_python3 uses Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 06/28] python-utils-r1.eclass: Ban py2 deps in python_gen* in EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 07/28] python-utils-r1.eclass: Deprecated and EAPI8-ban python_is_python3 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 08/28] python-utils-r1.eclass: Fix python_fix_shebang for py3.10+ Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 09/28] python-utils-r1.eclass: Enable EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 10/28] python-any-r1.eclass: Remove obsolete eselect-python use Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 11/28] python-any-r1.eclass: Remove obsolete PYTHON_USEDEP single-r1 hack Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 12/28] python-any-r1.eclass: Enable EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 13/28] python-single-r1.eclass: Update doc for -2/-3 arg removal Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 14/28] python-single-r1.eclass: Ban PYTHON_MULTI_USEDEP in EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 15/28] python-single-r1.eclass: Enable " Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 16/28] python-r1.eclass: Update doc for -2/-3 arg removal Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 17/28] multibuild.eclass: Enable EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 18/28] python-r1.eclass: Remove obsolete QA hack for PYTHON_USEDEP Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 19/28] python-r1.eclass: Ban python_gen_usedep in EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 20/28] python-r1.eclass: Use 'dosym -r' " Michał Górny
2021-06-20 13:22   ` [gentoo-dev] [PATCH v2] " Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 21/28] python-r1.eclass: Enable " Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 22/28] distutils-r1.eclass: Refactor --install-scripts rewriting logic Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 23/28] distutils-r1.eclass: Replace mydistutilsargs with DISTUTILS_ARGS Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 24/28] distutils-r1.eclass: Require >=pyproject2setuppy-15 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 25/28] distutils-r1.eclass: Ban dift --via-home in EAPI 8 Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 26/28] distutils-r1.eclass: Remove old FreeBSD compat hack Michał Górny
2021-06-20 13:15   ` Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 27/28] distutils-r1.eclass: Use 'dosym -r' in EAPI 8 Michał Górny
2021-06-20 13:23   ` [gentoo-dev] [PATCH v2] " Michał Górny
2021-06-20  9:55 ` [gentoo-dev] [PATCH 28/28] distutils-r1.eclass: Enable " Michał Górny
2021-06-20 13:24 ` [gentoo-dev] [PATCH v2 28/29] python-utils-r1.eclass: Remove _python_ln_rel Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox