Summary: | [Future EAPI] Add support for multi slot dependencies | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Tiziano Müller (RETIRED) <dev-zero> |
Component: | PMS/EAPI | Assignee: | Package Manager Specification <pms> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ciaran.mccreesh, ferdy, ferringb, hawking, wxwidgets |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=e383073de5bef8932f86d4f7d3dd09e7b5fd0c87 | ||
Whiteboard: | in-eapi-5 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 174380 |
Description
Tiziano Müller (RETIRED)
![]() After discussing this on the gentoo-dev ml, it is enough to make the convention that a package depending on different slots of the same package must use the best match (maybe using best_version cat/foo ?). A solution to the third problem is already given in the kdebuild EAPI. (In reply to comment #0) > So, what is needed: > * A way to tell the package manager from within an ebuild which slot of a > dependency has actually been used if more than one got specified > * Therefore the package manager has to actually record the slot being used for > building a package in the VDB These requirements seem somewhat backwards. Rather than the package deciding "automagically" which slot(s) will be used, shouldn't the user be able to control that (via USE flags or something similar)? Doing it via use flags gets very silly for things with lots of slots, like db. If use flags were a decent solution people would be using them already. |