Paul Varner <[EMAIL PROTECTED]> writes:

> Changed to:
>
> $ ./equery files --type vim-6.4
> [ Searching for packages matching vim-6.4... ]
> !!! Invalid syntax: missing operator
> !!! If you want only specific versions please use one of
> !!! the following operators as prefix for the package name:
> !!!    >  >=  =  <=  <
> !!! Example to only match gcc versions greater or equal 3.2:
> !!!    >=sys-devel/gcc-3.2
> !!!
> !!! Note: The symbols > and < are used for redirection in the shell
> !!! and must be quoted if either one is used.
>
> Regards,
> Paul

Don't know about you guys but I don't see where this really works at
all like it should.... examples follow:

root # ls  /usr/portage/dev-db/mysql
  ChangeLog     mysql-3.23.58-r1.ebuild  mysql-4.1.15-r30.ebuild
  Manifest      mysql-4.0.25-r2.ebuild   mysql-4.1.15.ebuild
  files         mysql-4.0.26.ebuild      mysql-5.0.15.ebuild
  metadata.xml  mysql-4.1.14.ebuild      mysql-5.0.16-r1.ebuild
  mysql-5.0.16-r30.ebuild

equery uses  mysql-4.0.26
[ Searching for packages matching mysql-4.0.26... ]
!!! Invalid syntax: missing operator
!!! If you want only specific versions please use one of
!!! the following operators as prefix for the package name:
!!!    >  >=  =  <=  <
!!! Example to only match gcc versions greater or equal 3.2:
!!!    >=sys-devel/gcc-3.2

Now try following the directions regardless of quoting technique:

Lessthan or equal too:
 equery uses  "<=mysql-4.0.26"
[ Searching for packages matching <=mysql-4.0.26... ]
!!! No matching packages found for "<=mysql-4.0.26"

Using  Mariusz method:

 equery uses  "<"=mysql-4.0.26 
[ Searching for packages matching <=mysql-4.0.26... ]
!!! No matching packages found for "<=mysql-4.0.26"


Only greater than seems to work and it doesn't really do what you
expect:

There are 7 ebuids that are equal to or greater than mysql-4.0.26

 equery uses  ">"=mysql-4.0.26
 or
 equery uses ">="mysql-4.0.26
 or
 equery uses ">=mysql-4.0.26"

[ Searching for packages matching >=mysql-4.0.26... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                   
  ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for dev-db/mysql-5.0.15 ]
 U I
 + + berkdb      : Adds support for sys-libs/db (Berkeley DB for MySQL)
 - - big-tables  : Make tables contain up to 1.844E+19 rows
 - - cluster     : Add support for NDB clustering.
 - - debug       : Tells configure and the makefiles to build for debugging. 
Effects vary across packages, but generally it will at least add -g to CFLAGS. 
Remember to set FEATURES=nostrip too
 - - doc         : Adds extra documentation (API, Javadoc, etc)
 - - extraengine : Add support for alternative storage engines.
 - - minimal     : Install a very minimal build (disables, for example, 
plugins, fonts, most drivers, non-critical features)
 + + perl        : Adds support/bindings for the Perl language.
 + + readline    : enables support for libreadline, a GNU line-editing library 
that most everyone wants.
 - - selinux     : !!internal use only!! Security Enhanced Linux support, this 
must be set by the selinux profile or breakage will occur
 + + ssl         : Adds support for Secure Socket Layer connections
 - - static      : !!do not set this during bootstrap!! Causes binaries to be 
statically linked instead of dynamically
 - - utf8        : Use UTF8 encoding instead of LATIN1.

Apparently only one is shown.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to