Summary: | portage should have a ebuild-accessible variable for the USE flags of previously-installed versions | ||
---|---|---|---|
Product: | Portage Development | Reporter: | poletti.marco |
Component: | Conceptual/Abstract Ideas | Assignee: | Package Manager Specification <pms> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 440214 |
Description
poletti.marco
2012-10-30 08:04:23 UTC
(In reply to comment #0) > If it was possible to write something like: > > if use zeroconf && !previous_use zeroconf; then > ... > fi You can already do the equivalent since EAPI 2 like this: if use zeroconf && ! has_version 'net-misc/dhcpcd[zeroconf]'; then Nice! Thank you. That function covers all the use-cases that I need, so I think that we can close this bug as INVALID, then. Or is there some reason to keep it open? (In reply to poletti.marco from comment #2) > That function covers all the use-cases that I need, so I think that we can > close this bug as INVALID, then. Closing. |