From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 2/4] epunt-cxx.eclass: Inherit eutils for eqawarn
Date: Fri, 14 Apr 2017 21:32:13 +0200 [thread overview]
Message-ID: <20170414193215.12952-2-mgorny@gentoo.org> (raw)
In-Reply-To: <20170414193215.12952-1-mgorny@gentoo.org>
Now that eutils does not inherit epunt-cxx implicitly, we can reverse
the inherit without having circular dependencies.
---
eclass/epunt-cxx.eclass | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/eclass/epunt-cxx.eclass b/eclass/epunt-cxx.eclass
index 660b1d138fac..b7c944e281df 100644
--- a/eclass/epunt-cxx.eclass
+++ b/eclass/epunt-cxx.eclass
@@ -11,14 +11,8 @@
if [[ -z ${_EPUNT_CXX_ECLASS} ]]; then
-# TODO: replace this with 'inherit eutils' once eutils stops inheriting
-# us
-if ! declare -F eqawarn >/dev/null ; then
- eqawarn() {
- has qa ${PORTAGE_ELOG_CLASSES} && ewarn "$@"
- :
- }
-fi
+# eutils for eqawarn
+inherit eutils
# If an overlay has eclass overrides, but doesn't actually override the
# libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's
--
2.12.2
next prev parent reply other threads:[~2017-04-14 19:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-14 19:32 [gentoo-dev] [PATCH 1/4] eutils.eclass: Remove implicit epunt-cxx inherit Michał Górny
2017-04-14 19:32 ` Michał Górny [this message]
2017-04-14 19:32 ` [gentoo-dev] [PATCH 3/4] epunt-cxx.eclass: Switch to using patches from elt-patches pkg Michał Górny
2017-04-14 19:32 ` [gentoo-dev] [PATCH 4/4] eclass/ELT-patches: remove the remaining (nocxx) patches Michał Górny
2017-04-25 18:45 ` [gentoo-dev] [PATCH 1/4] eutils.eclass: Remove implicit epunt-cxx inherit Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170414193215.12952-2-mgorny@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox