18.08.2014 14:44, Rich Freeman пишет: > On Mon, Aug 18, 2014 at 4:54 AM, Sergey Popov <pinkb...@gentoo.org> wrote: >> 17.08.2014 01:54, William Hubbs пишет: >>> >>> # Foo and bar both have src_unpack and src_install functions. >>> # we want foo's src_unpack and bar's src_install: >>> >>> ECLASS_PHASES="foo_src_unpack >>> bar_src_install" >> >> You have my strong opposition on such change as well. It will turn >> ebuilds into unreadable and undpredictable mess, please do not do that >> > > I'm not sure I follow your complaint. He is talking about adding one > line to an ebuild. I'm not sure how that is unreadable, and the > algorithm you quoted looks fairly predictable to me as well. > > Certainly it is less convenient than not having to do anything to pull > in eclass-defined phase functions, and it requires ebuilds to be > updated when eclasses are updated to add new phase functions. That > could be problematic for cases like KDE/X11/etc where you have a large > collection of short ebuilds with all the logic in an eclass. > > I just want to make sure I'm understanding your concern in case there > is a new issue being raised.
What's bad with overriding needed functions and saying which exported functions(from eclasses) to execute and in which order? Is this approach flaw? In which ways? -- Best regards, Sergey Popov Gentoo developer Gentoo Desktop Effects project lead Gentoo Proxy maintainers project lead
signature.asc
Description: OpenPGP digital signature