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 ++
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
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/
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
@
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
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
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
-
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
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
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.
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
++
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
# 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
Hey,
app-dicts/verbiste is available due to retirement of its maintainer. Has
currently 3 bugs open.
-- juippis
OpenPGP_signature
Description: OpenPGP digital signature
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
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
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
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
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
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
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
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
35 matches
Mail list logo