On Thu, 8 Sep 2011 20:10:23 +0200 Arfrever Frehtes Taifersar Arahesis <arfrever....@gmail.com> wrote:
> 2011-09-08 19:03:56 Thomas Sachau napisał(a): > > Tomáš Chvátal schrieb: > > > Start collecting ideas for EAPI5. > > > > 2) USE-flag based support to install for different slots (e.g. > > python, ruby or php) > > > > The second one is already done in some eclasses, afaik php and > > ruby, but it might be a good idea to have a general framework for > > all slotted languages, so there is no need to re-implement the same > > for every language. > > It's better to have it implemented in eclasses. E.g. Python scripts > need to be specially handled > (python_merge_intermediate_installation_images() renames them (so > that their names include Python ABI), calls python_convert_shebangs() > if they don't have appropriate shebangs, and calls > python_generate_wrapper_scripts() to create appropriate wrapper > scripts). Eclasses itself can't handle this in really useful manner. PM needs to provide us with a nice ability to handle all that. Otherwise, we end up with more and more ugly hacks and needless rebuilds. The point in ABI slots should be to let PM build each slot independently and handle cross-slot depends. IOW, if I build one package for multiple python ABIs, I don't need every other python package built for all of them. Same goes for multilib -- I need 32-bit libs for wine, not for the whole system. And I want them being built when I start needing them, without requiring a rebuild of half of the system. And with separate USEflags. -- Best regards, Michał Górny
signature.asc
Description: PGP signature