From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] RFC: [Future EAPI] Exporting phase funcs from direct inherits only
Date: Tue, 14 Aug 2012 11:44:49 +0200 [thread overview]
Message-ID: <20120814114449.0db3d120@pomiocik.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 991 bytes --]
Hello,
As some of you may have noticed, lately introduced 'double include
preventions' have caused changes in effective phase functions in a few
ebuilds. Also, often it is undesirable that change in inherits of
an eclass may cause an undesired change of exported functions. To solve
these problems, we are proposing the following:
1. If an ebuild does not provide an explicit phase function, the phase
functions *directly exported* by *directly inherited* eclasses are used
to find a suitable default,
2. Thus, if an eclass inherits another eclass and expects the phase
functions of that eclass to be effective to the ebuild, it needs to
create its own phase function and export it.
This should make the ebuild behavior simpler to understand and saner.
It should also fix the forementioned issues, and allow us to make
the 'source eclasses only once'[1] proposal simpler.
[1]:https://bugs.gentoo.org/show_bug.cgi?id=422533
--
Best regards,
Michał Górny
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]
next reply other threads:[~2012-08-14 9:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 9:44 Michał Górny [this message]
2012-08-14 19:46 ` [gentoo-dev] RFC: [Future EAPI] Exporting phase funcs from direct inherits only Zac Medico
2012-08-14 20:39 ` Michał Górny
2012-08-18 3:20 ` Mike Frysinger
2012-08-14 20:45 ` Ciaran McCreesh
2012-08-14 20:54 ` Michał Górny
2012-08-14 20:56 ` Ciaran McCreesh
2012-08-14 21:01 ` hasufell
2012-08-14 21:17 ` Ciaran McCreesh
2012-08-14 21:09 ` Michał Górny
2012-08-14 21:11 ` Ciaran McCreesh
2012-08-14 21:09 ` Zac Medico
2012-08-14 21:51 ` Michał Górny
2012-08-14 21:56 ` Ciaran McCreesh
2012-08-14 21:59 ` Zac Medico
2012-08-18 3:19 ` Mike Frysinger
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=20120814114449.0db3d120@pomiocik.lan \
--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