[gentoo-dev] Files owned by multiple slots

2009-05-11 Thread Sven Schwyn
Hi This question popped up while discussing how to deal with Ruby gems on Gentoo in a way that gives the user the freedom to choose Portage, RubyGems or both for gem management. http://bugs.gentoo.org/show_bug.cgi?id=268857 Here's what it boils down to: If a Ruby gem ebuild is slotted, th

[gentoo-dev] Re: Files owned by multiple slots

2009-05-11 Thread Sven Schwyn
Marijn wrote: Is it feasable to extend Portage to allow a file to be owned by several slots and remove it only once the last slot is uninstalled (aka: once the ebuild is completely uninstalled)? Do we have any guarantees that the file you want to share will be compatible with all gems that

[gentoo-dev] Re: Files owned by multiple slots

2009-05-12 Thread Sven Schwyn
Gilles wrote: so this wrapper could be installed in a separate eselect sort of package ? How exactly can this be done? If a gem creates five executables, would this mean that this gem comes in six ebuilds? If those kind of wrappers are generic enough, it could even be a single eselect package