Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 0/9] python-r1 suite cleanup
Date: Wed, 04 Mar 2020 14:32:56

Here's a short series addressing some issues I've noticed in the code.
This is mostly stale documentation, non-doc changes are:

1. python_setup() now verbosely reports the implementation selected.

2. leftover code to workaround virtual/pypy* is removed.

3. calling distutils-r1_python_install_all is no longer mandatory.
   It it just a thin wrapper on einstalldocs, so it's fine to call
   einstalldocs instead.

4. /usr/lib/pypy*/share is now a fatal error.  It shouldn't be happening
   now that pypy* is patched.

Best regards,
Michał Górny

Michał Górny (9):
  python*-r1.eclass, distutils-r1.eclass: Link to Python Guide
  python-utils-r1.eclass: Mark _python_check_locale_sanity @INTERNAL
  python-utils-r1.eclass: Update docs to use python_setup
  python-r1.eclass: Report impl used by python_setup
  python-any-r1.eclass: Report impl used by python_setup
  python-single-r1.eclass: Report impl used by python_setup
  python-utils-r1.eclass: Remove leftover from virtual/pypy*
  distutils-r1.eclass: Do not require distutils-r1_python_install_all
  distutils-r1.eclass: Make /usr/lib/pypy/share warning fatal

 eclass/distutils-r1.eclass     | 17 +++--------------
 eclass/python-any-r1.eclass    | 10 +++++++---
 eclass/python-r1.eclass        |  7 ++++---
 eclass/python-single-r1.eclass |  6 ++++--
 eclass/python-utils-r1.eclass  | 31 +++++++++----------------------
 5 files changed, 27 insertions(+), 44 deletions(-)