> On 5 Jun 2022, at 00:34, Anna V wrote:
>
> I'd like pkgcheck to detect if RDEPEND was changed without revbump.
>
pkgcheck scan --commits does. A solution for when _other_ people did this could
be
done by diffing metadata, I think.
signature.asc
Description: Message signed with OpenPGP
Bit sloppy, but should cover most of it.
Signed-off-by: Ionen Wolkens
---
eclass/tests/esed.sh | 263 +++
1 file changed, 263 insertions(+)
create mode 100755 eclass/tests/esed.sh
diff --git a/eclass/tests/esed.sh b/eclass/tests/esed.sh
new file mode 100
Semi-new take on the eclass, also incorporating mgorny's erepl idea
making this more or less a toolbox for replacements with no-op checks
(still named esed.eclass, but could be reconsidered if seems better).
See @EXAMPLE in eclass for quick usage overview, and below for
nvidia-drivers ebuild chang
Signed-off-by: Ionen Wolkens
---
eclass/esed.eclass | 265 +
1 file changed, 265 insertions(+)
create mode 100644 eclass/esed.eclass
diff --git a/eclass/esed.eclass b/eclass/esed.eclass
new file mode 100644
index 000..414daceaf8b
--- /dev/null
On 22/05/28 10:28PM, Andreas K. Huettel wrote:
> Hi all,
>
> it's time for introducing 22.0 profiles [1] - so if you have any things that
> need to
> be switched in an incompatible way tree-wide, or if you have any suggestions
> on how
> to change our default settings, please reply to this mail w
On Sat, Jun 04, 2022 at 06:19:30PM +0200, Alessandro Barbieri wrote:
> When I use sed is for dynamic content and mostly like to do this:
> s|lib|$(get_libdir)|g
> In this case esed would be deleterious because it would fail on 32 bit
> arches
This case is noted in the docs fwiw. How to handle will
Il giorno mar 31 mag 2022 alle ore 13:23 Ionen Wolkens
ha scritto:
> Often preferable to use patches so this happens, but sed have its
> uses/convenience and this intend to help reduce the amount of old
> broken seds causing issues that go unnoticed on bumps.
>
> Inspired by app-portage/iwdevtool
Bug: https://bugs.gentoo.org/847436
Signed-off-by: Mike Gilbert
---
metadata/install-qa-check.d/60udev-eclass | 5 +
1 file changed, 5 insertions(+)
diff --git a/metadata/install-qa-check.d/60udev-eclass
b/metadata/install-qa-check.d/60udev-eclass
index 4aadc9b1f18..24a4df38ec4 100644
--- a
Closes: https://bugs.gentoo.org/847436
Signed-off-by: Mike Gilbert
---
eclass/udev.eclass | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/eclass/udev.eclass b/eclass/udev.eclass
index 073e5d8acbc..830e3eeb125 100644
--- a/eclass/udev.eclass
+++ b/eclass/udev.ec
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 9536e5c466be..db5cced50952 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1884
From: Arthur Zamarin
Signed-off-by: Arthur Zamarin
---
eclass/distutils-r1.eclass | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 30f7d941f0d4..9536e5c466be 100644
--- a/eclass/distutils-r1.eclass
+++ b/e
From: Arthur Zamarin
python_has_version is preferred as it gives nicer output and safer
defaults, instead of has_version.
---
eclass/python-any-r1.eclass | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index
Signed-off-by: Michał Górny
---
.../gnome-abrt/gnome-abrt-1.4.1-r1.ebuild | 57 +++
1 file changed, 57 insertions(+)
create mode 100644 app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild
diff --git a/app-admin/gnome-abrt/gnome-abrt-1.4.1-r1.ebuild
b/app-admin/gnome-abrt/gnome-
Signed-off-by: Michał Górny
---
dev-python/gpep517/gpep517-6-r1.ebuild | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 dev-python/gpep517/gpep517-6-r1.ebuild
diff --git a/dev-python/gpep517/gpep517-6-r1.ebuild
b/dev-python/gpep517/gpep517-6-r1.ebuild
new fi
Signed-off-by: Michał Górny
---
.../installer/installer-0.5.1-r1.ebuild | 37 +++
1 file changed, 37 insertions(+)
create mode 100644 dev-python/installer/installer-0.5.1-r1.ebuild
diff --git a/dev-python/installer/installer-0.5.1-r1.ebuild
b/dev-python/installer/installe
Signed-off-by: Michał Górny
---
dev-python/tomli/tomli-2.0.1-r1.ebuild | 36 ++
1 file changed, 36 insertions(+)
create mode 100644 dev-python/tomli/tomli-2.0.1-r1.ebuild
diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild
b/dev-python/tomli/tomli-2.0.1-r1.ebuild
new fi
Signed-off-by: Michał Górny
---
eclass/python-utils-r1.eclass | 13 +
1 file changed, 13 insertions(+)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index fd04cf374ce4..b9cf9c03caeb 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.e
Make it possible to use python_domodule() outside src_install(),
in order to install files into the ${BUILD_DIR}/install tree used
by distutils-r1.
Signed-off-by: Michał Górny
---
eclass/python-utils-r1.eclass | 29 ++---
1 file changed, 22 insertions(+), 7 deletions(-)
Fix python_moduleinto doc to mention python_domodule rather than
python_doscript (copy-paste error, probably).
Signed-off-by: Michał Górny
---
eclass/python-utils-r1.eclass | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-u
Introduce a new DISTUTILS_USE_PEP517 value "no" that stands for
"no build system". This is primarily meant to replace the legacy
distutils-r1 logic used for bootstrapping baseline PEP 517 packages.
At the same time, it provides a convenient replacement for some
of the uses of python-r1.
In this m
Move the PEP517 venv logic, install executable wrapping and root-merging
logic all into post-phases. This will enable the ebuilds that do not
use the standard phase implementations to use them.
Signed-off-by: Michał Górny
---
eclass/distutils-r1.eclass | 124 ++--
Now that we've essentially removed non-implicit namespace packages
from Gentoo and setuptools upstream has deprecated their old solution,
it's time to make this check fatal. Unfortunately, I did not think
of it when adding PEP517 mode, so let's do that in EAPI 9.
Signed-off-by: Michał Górny
---
The PyPy 'share' directory check was necessary because of the historical
prefix logic that we patched in Gentoo. All modern versions of PyPy
use '/usr' as sys.prefix natively, so the check is no longer needed.
Signed-off-by: Michał Górny
---
eclass/distutils-r1.eclass | 12
1 file
Perform the install QA check (the invalid package name check) in a post-
phase function. This enables it to be performed even when
distutils-r1_python_install is not used.
Signed-off-by: Michał Górny
---
eclass/distutils-r1.eclass | 54 ++
1 file changed, 31
Signed-off-by: Michał Górny
---
eclass/distutils-r1.eclass | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index d6fd176192de..b690f21f9159 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r
Support running additional post-python_* phase functions for internal
usage. The goal is to replace some of the inline logic
in distutils-r1_python_* functions that relies on the user calling them
and additional calls to python_foreach_impl.
Signed-off-by: Michał Górny
---
eclass/distutils-r1.e
The test suites of pytest plugins cause additional *-pytest-*.pyc files
to be created. Remove them in order to prevent them from being
installed alongside the package.
Closes: https://bugs.gentoo.org/847235
Signed-off-by: Michał Górny
---
eclass/python-utils-r1.eclass | 5 +
1 file changed,
Hi,
Here's another large-ish patchset for the Python eclass. The primary
highlight is DISTUTILS_USE_PEP517=no mode explained below. In addition
to that, some refactoring, bug fixes and other changes collected
to avoid updating the metadata cache twice.
D_U_PEP517=no mode basically gives you th
On Fri, Jun 03, 2022 at 07:15:17PM -0500, Oskari Pirhonen wrote:
[snip[
> Testing for (in)equality between pre- and post-sed contents is
> reasonable enough in most cases. This time, though, it would fail to
> detect anything has changed since the pre-sed contents have their NULL's
> unintentionall
29 matches
Mail list logo