public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/2] *.eclass: Replace eutils inherit by eqawarn in EAPI 6
@ 2023-12-07 17:44 Ulrich Müller
  2023-12-07 17:44 ` [gentoo-dev] [PATCH 1/2] flag-o-matic.eclass: " Ulrich Müller
  2023-12-07 17:44 ` [gentoo-dev] [PATCH 2/2] rpm.eclass: " Ulrich Müller
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Müller @ 2023-12-07 17:44 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Ulrich Müller

These trivial patches replace "inherit eutils" by "inherit eqawarn"
which is the only function that is actually needed. This will allow
dropping EAPI 6 from indirectly (via eutils) inherited eclasses in a
second step.

I've verified that none of the affected 53 ebuilds in the Gentoo
repository call any functions of the indirectly inherited eclasses.

Ulrich Müller (2):
  flag-o-matic.eclass: Replace eutils inherit by eqawarn in EAPI 6
  rpm.eclass: Replace eutils inherit by eqawarn in EAPI 6

 eclass/flag-o-matic.eclass | 2 +-
 eclass/rpm.eclass          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.43.0



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

* [gentoo-dev] [PATCH 1/2] flag-o-matic.eclass: Replace eutils inherit by eqawarn in EAPI 6
  2023-12-07 17:44 [gentoo-dev] [PATCH 0/2] *.eclass: Replace eutils inherit by eqawarn in EAPI 6 Ulrich Müller
@ 2023-12-07 17:44 ` Ulrich Müller
  2023-12-07 17:44 ` [gentoo-dev] [PATCH 2/2] rpm.eclass: " Ulrich Müller
  1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2023-12-07 17:44 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Ulrich Müller

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
 eclass/flag-o-matic.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index d377568327e6..40662f4f7d7b 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -20,7 +20,7 @@ _FLAG_O_MATIC_ECLASS=1
 
 inherit toolchain-funcs
 
-[[ ${EAPI} == 6 ]] && inherit eutils
+[[ ${EAPI} == 6 ]] && inherit eqawarn
 
 # @FUNCTION: all-flag-vars
 # @DESCRIPTION:
-- 
2.43.0



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

* [gentoo-dev] [PATCH 2/2] rpm.eclass: Replace eutils inherit by eqawarn in EAPI 6
  2023-12-07 17:44 [gentoo-dev] [PATCH 0/2] *.eclass: Replace eutils inherit by eqawarn in EAPI 6 Ulrich Müller
  2023-12-07 17:44 ` [gentoo-dev] [PATCH 1/2] flag-o-matic.eclass: " Ulrich Müller
@ 2023-12-07 17:44 ` Ulrich Müller
  1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2023-12-07 17:44 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Ulrich Müller

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
 eclass/rpm.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass
index d8bb0ad2814d..b9187167eb8f 100644
--- a/eclass/rpm.eclass
+++ b/eclass/rpm.eclass
@@ -8,7 +8,7 @@
 # @BLURB: convenience class for extracting RPMs
 
 case ${EAPI} in
-	6) inherit epatch eutils ;; # eutils for eqawarn
+	6) inherit epatch eqawarn ;;
 	7|8) ;;
 	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
-- 
2.43.0



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

end of thread, other threads:[~2023-12-07 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07 17:44 [gentoo-dev] [PATCH 0/2] *.eclass: Replace eutils inherit by eqawarn in EAPI 6 Ulrich Müller
2023-12-07 17:44 ` [gentoo-dev] [PATCH 1/2] flag-o-matic.eclass: " Ulrich Müller
2023-12-07 17:44 ` [gentoo-dev] [PATCH 2/2] rpm.eclass: " Ulrich Müller

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