[gentoo-dev] Last rites: app-misc/emelfm2

2022-02-06 Thread Jonas Stein
# Jonas Stein (2022-02-06) # Dead upstream, unmaintained, open bugs. # Removal after 2022-04-01. Bug #832808. app-misc/emelfm2 https://bugs.gentoo.org/832808 -- Best, Jonas

[gentoo-dev] Packages up for grabs: x11-misc/autocutsel

2022-02-06 Thread Jonas Stein
Dear all the following packages are up for grabs after dropping desktop-misc x11-misc/autocutsel https://packages.gentoo.org/packages/x11-misc/autocutsel No open bugs, I did a version bump and an eapi bump before removing desktop-misc -- Best, Jonas

[gentoo-dev] [PATCH 30/30] distutils-r1.eclass: Add min version to tomli dep

2022-02-06 Thread Michał Górny
Closes: https://bugs.gentoo.org/832782 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 4feb9d7177ae..aa8496092cee 100644 --- a/eclass/distutils-r1.eclass ++

[gentoo-dev] [PATCH 29/30] dev-libs/libwacom: Use python_has_version for verbose output

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-libs/libwacom/libwacom-1.11.ebuild | 6 +++--- dev-libs/libwacom/libwacom-1.12.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-libs/libwacom/libwacom-1.11.ebuild b/dev-libs/libwacom/libwacom-1.11.ebuild index acfda32d8405.

[gentoo-dev] [PATCH 28/30] python-utils-r1.eclass: Add QA check for obsolete PYTHON_COMPAT

2022-02-06 Thread Michał Górny
Add a QA check that reports obsolete implementation in PYTHON_COMPAT if ebuild has been modified in 2022 (based on copyright year). Requested by sam. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git

[gentoo-dev] [PATCH 27/30] python-any-r1.eclass: Do not test EPYTHON twice

2022-02-06 Thread Michał Górny
Avoid checking the implementation from EPYTHON via fallback iteration. While there's no technical harm in doing that, now that we output verbosely the users will notice ;-). Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 14 -- 1 file changed, 8 insertions(+), 6 deleti

[gentoo-dev] [PATCH 26/30] dev-python/jaraco-text: Use python_gen_cond_dep w/ stdlib ver

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild b/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild index 66eb9f8d0462..0b6a909952eb 100644 -

[gentoo-dev] [PATCH 25/30] python-utils-r1.eclass: Support matching impls by stdlib version

2022-02-06 Thread Michał Górny
Update _python_impl_matches() (used to implement python_gen*, python_setup) to support specifying stdlib versions ("3.8", "3.9") in addition to exact implementation names. This makes handling PyPy3 version changes much easier when dealing with backports. For example, if you specify "3.8", then th

[gentoo-dev] [PATCH 24/30] python-utils-r1.eclass: Add status messages to python_optimize

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 7d6c81e14dc8..1c6409add35c 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -610,6

[gentoo-dev] [PATCH 23/30] python-utils-r1.eclass: Remove old phase check from python_optimize

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 9 - 1 file changed, 9 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index d423a28cccb5..7d6c81e14dc8 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @

[gentoo-dev] [PATCH 22/30] python-utils-r1.eclass: Use heredoc instead of "python -c"

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 41 ++- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index a42ae66d9c89..d423a28cccb5 100644 --- a/eclass/python-utils-r1

[gentoo-dev] [PATCH 21/30] distutils-r1.eclass: Use heredoc instead of "python -c"

2022-02-06 Thread Michał Górny
Use heredocs instead of inlining longish scripts in "python -c", for greater readability. Thanks to arthurzam for the suggestion. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/ecla

[gentoo-dev] [PATCH 20/30] python-single-r1.eclass: Remove PYTHON_MULTI_USEDEP

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-single-r1.eclass | 7 --- 1 file changed, 7 deletions(-) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 73afcdc3ed6c..0e9a16a47d0e 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclas

[gentoo-dev] [PATCH 19/30] python-utils-r1.eclass: Remove python_is_python3

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 8 +++- eclass/python-utils-r1.eclass | 17 - eclass/tests/python-utils-r1.sh | 5 - 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclas

[gentoo-dev] [PATCH 18/30] python-r1.eclass: Improve comment for USE-dep generation

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 469c3014abfb..bb851e167617 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -393,9

[gentoo-dev] [PATCH 17/30] python-single-r1.eclass: Inline & simplify USE-deps in gen_cond_dep

2022-02-06 Thread Michał Górny
Generate simpler USE-deps inline in python_gen_cond_dep() and remove _python_gen_usedep(). The original code always repeated USE deps on all targets to aid Portage in giving better suggestions. However, since there always will be exactly one implementation selected, this is unnecessary and we can

[gentoo-dev] [PATCH 16/30] python-utils-r1.eclass: Remove python_wrapper_setup

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 16 1 file changed, 16 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 99662c0a2e16..a2de1c2b506e 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1

[gentoo-dev] [PATCH 15/30] python-utils-r1.eclass: Remove deprecated python_export

2022-02-06 Thread Michał Górny
Remove python_export, as it is no longer used by any ebuilds in ::gentoo. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 17 - 1 file changed, 17 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 362e55aed06f..99662c0a

[gentoo-dev] [PATCH 14/30] python-utils-r1.eclass: Fix sphinx_build for non-autodoc case

2022-02-06 Thread Michał Górny
Fix the regression in calling sphinx-build for the non-autodoc case that causes the build to fail if dev-python/sphinx isn't built for the newest Python interpreter available. To account for this, we need to call sphinx-build as an executable (i.e. via python-exec). Ideally, build_sphinx would be

[gentoo-dev] [PATCH 13/30] distutils-r1.eclass: Use python_has_version in ...enable_sphinx

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index c0b04cf7d997..295263b62420 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -431,

[gentoo-dev] [PATCH 12/30] python-utils-r1.eclass: Add a verbose python_has_version() wrapper

2022-02-06 Thread Michał Górny
Add a python_has_version() wrapper that runs has_version in a verbose way that makes python_check_deps() failures easier to understand. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 16 1 file changed, 16 insertions(+) diff --git a/eclass/python-utils-r1.eclas

[gentoo-dev] [PATCH 11/30] distutils-r1.eclass: Fix has_version for distutils_enable_sphinx

2022-02-06 Thread Michał Górny
Fix the has_version calls for distutils_enable_sphinx to use -b option (--host-root in earlier EAPIs). Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index

[gentoo-dev] [PATCH 10/30] python-utils-r1.eclass: Inline python_is_installed

2022-02-06 Thread Michał Górny
Inline the python_is_installed function that is used exactly once (in _python_run_check_deps). This helps us avoid having to grab PYTHON_PKG_DEP twice. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-) di

[gentoo-dev] [PATCH 09/30] python-utils-r1.eclass: Report _python_run_check_deps verbosely

2022-02-06 Thread Michał Górny
Report dep checking progress verbosely, to help users understand why a particular implementations was rejected or selected. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/

[gentoo-dev] [PATCH 08/30] python-any-r1.eclass: Explain the reason for interpreter choice

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 8d3af399b4be..5c01e9eb6888 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.ecla

[gentoo-dev] [PATCH 07/30] python-utils-r1.eclass: Add function to run python_check_deps()

2022-02-06 Thread Michał Górny
Add a function encompassing the common logic to run python_check_deps() from python-any-r1 and python-r1. Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 32 eclass/python-r1.eclass | 7 +-- eclass/python-utils-r1.eclass | 20 ++

[gentoo-dev] [PATCH 06/30] python-any-r1.eclass: Move EPYTHON validity check to python_setup()

2022-02-06 Thread Michał Górny
Move the EPYTHON validity check from _python_EPYTHON_supported() to python_setup() where it belongs. This avoids unnecessarily retesting implementations taken from PYTHON_COMPAT and paves the way towards moving the common logic to python-utils-r1. Signed-off-by: Michał Górny --- eclass/python-a

[gentoo-dev] [PATCH 05/30] python-r1.eclass: Remove deprecated python_gen_usedep

2022-02-06 Thread Michał Górny
This function is deprecated for some time already and there are no more consumers left in ::gentoo. Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 43 + 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/eclass/python-r1.eclass b/ecla

[gentoo-dev] [PATCH 04/30] dev-python/isort: Switch to PEP 517 build

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/isort/isort-5.10.1-r1.ebuild | 65 + 1 file changed, 65 insertions(+) create mode 100644 dev-python/isort/isort-5.10.1-r1.ebuild diff --git a/dev-python/isort/isort-5.10.1-r1.ebuild b/dev-python/isort/isort-5.10.1-r1.ebuild new

[gentoo-dev] [PATCH 03/30] distutils-r1.eclass: Create distutils_pep517_install helper

2022-02-06 Thread Michał Górny
Split the wheel build & install logic into a a new helper. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 77 -- 1 file changed, 48 insertions(+), 29 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 22070f6

[gentoo-dev] [PATCH 02/30] distutils-r1.eclass: Get wheel name from the backend

2022-02-06 Thread Michał Górny
Use the wheel name returned by build_wheel() rather than trying to guess it from WHEEL_DIR. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index

[gentoo-dev] [PATCH 01/30] distutils-r1.eclass: Split backend getting code into a function

2022-02-06 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 110 + 1 file changed, 63 insertions(+), 47 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 2b5acb09d926..81eea83c67b3 100644 --- a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 00/30] One batch of Python eclass updates to rule them all

2022-02-06 Thread Michał Górny
Hi, Here's the largest batch of eclass updates in quite some time. They combine some new features needed for PEP 517 packages, other new features, refactoring, cleanup and cosmetic changes -- hopefully to stop the cache updates for some time. The changes can be also reviewed on GitHub, particula

[gentoo-dev] Packages up for grabs: media-libs/libgroove, media-gfx/img2pdf and more

2022-02-06 Thread Jonas Stein
Dear all the following packages are up for grabs after retirement of the proxied maintainer https://bugs.gentoo.org/633102: media-libs/libgroove media-libs/libsoundio x11-misc/xss-lock media-gfx/img2pdf games-rpg/baldurs-gate-ee media-sound/pnmixer dev-python/configshell-fb dev-python/pyacous

[gentoo-dev] Package up for grabs: app-dicts/verbiste

2022-02-06 Thread Joonas Niilola
Hey, app-dicts/verbiste is available due to retirement of its maintainer. Has currently 3 bugs open. -- juippis OpenPGP_signature Description: OpenPGP digital signature