Summary: | Expand portage acceptable version specifiers | ||
---|---|---|---|
Product: | Portage Development | Reporter: | ta2002 <throw_away_2002> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ta2002
2013-02-09 09:35:53 UTC
Just use =app-misc/foo-1.23* Portage is not Rubygems. I am trying to mask anything GREATER THAN 1.23-r*. It doesn't seem that there is any way (with the current syntax) of doing this. And no, I cant use >=app-misc/foo-1.24, because that would be foiled by a 1.23.1. This should achieve the desired effect: echo app-misc/foo >> /etc/portage/package.mask echo =app-misc/foo-1.23* >> /etc/portage/package.unmask (In reply to comment #3) > This should achieve the desired effect: > > echo app-misc/foo >> /etc/portage/package.mask > echo =app-misc/foo-1.23* >> /etc/portage/package.unmask Wouldn't that also handle a 1.23.1 incorrectly (I only want to accept 1.23-r*, but not 1.23.*)? (In reply to comment #4) > Wouldn't that also handle a 1.23.1 incorrectly (I only want to accept > 1.23-r*, but not 1.23.*)? Yes, you'd have to use ~app-misc/foo-1.23 instead. The ~ operator matches any revision. |