2011/9/7 Ulrich Mueller <u...@gentoo.org>: >>>>>> On Wed, 7 Sep 2011, Tomáš Chvátal wrote: > >> Start collecting ideas for EAPI5. > > I suggest that EAPI 5 should include the two features that have been > omitted from EAPI 4 [1,2]. > > Apart from this, I think we should be more careful for the next EAPI, > in order to avoid such long delays as we had with EAPI 4. One possible > solution would be to only accept features where a preliminary > implementation in Portage is available. Agreed the wait last time was really bad. > >> I myself would like PATCHES array to be default in src_prepare phase >> and some solution for runtime optional deps, Instead of elog in >> postinst something like Recommended from rpm. > > Looks reasonable (if an implementation is ready). Although I don't > understand how it is related to rpm.
Well the patches code is in base eclass. For Recommended it works like this: blabla.spec Recommended: xf86-video-ati zypper in blabla ... You might consider installing these additional packages: xf86-video-ati It for sure needs more thinking as this is just basic idea. It might even take into account that if you install the recommended patckage with oneshot it should not be depcleaned unless all recommending packages are gone too, and so on.