Summary: | app-portage/eix does not handle "virtual/pkg" correctly | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Mark J. Olah <mjo> |
Component: | Third-Party Tools | Assignee: | Stefan Schweizer (RETIRED) <genstef> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | martin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark J. Olah
2007-06-07 23:19:21 UTC
This is expected behavior: eix matches by default against the package name (-s). If you want it to match against category/name, you must use option -A: eix -A virtual/x11 finds the package. My explanation was not complete, since -s is not always the default: More precisely, the default depends on your search string - here, "^virtual/" is treated differently than other strings with "/", because "^virtual/" is assumed to start a match against PROVIDE (see MATCH_PROVIDE_IF in /etc/eixrc). So perhaps you just want to define MATCH_ORDER='CATEGORY_NAME NAME PROVIDE' in /etc/eixrc or in your ~/.eixrc Hi Martin, Thanks for the explanation. I can see how that could be a useful default. I took your suggestion and changed my MATCH_ORDER, and now it works the way I like. -Mark |