public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: eclass issues
@ 2014-08-17 15:38 William Hubbs
  2014-08-17 17:29 ` Rich Freeman
  2014-08-18 12:12 ` hasufell
  0 siblings, 2 replies; 4+ messages in thread
From: William Hubbs @ 2014-08-17 15:38 UTC (permalink / raw
  To: gentoo development; +Cc: mgorny

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

All,

I spoke with mgorny on IRC and found out what his concerns are about our
current eclasses.

First, he thinks we should get rid of base.eclass.

I know there is work going on to get rid of it, but I haven't really
looked into the status much yet. I do agree though, we shouldn't have a
general-purpose eclass like this that overrides default phase functions.
Things like this belong in PMS; not in an eclass.

The other concern he mentioned was indirectly inherited eclasses being
able to override phase functions.

He said for example that if an ebuild inherits foo and foo inherits bar,
foo should export all of the phase functions bar exports.

This may cause some boilerplating in some of the eclasses, so I'm
wondering if it would be feasible to make EXPORT_FUNCTIONS work only for
the first level of inheritance?

Thoughts?

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, other threads:[~2014-08-18 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-17 15:38 [gentoo-dev] rfc: eclass issues William Hubbs
2014-08-17 17:29 ` Rich Freeman
2014-08-18 12:12 ` hasufell
2014-08-18 13:18   ` Rich Freeman

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