Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: querying whether pkg is installed with version X or upwards ("atom" syntax) (re-post)
Date: Wed, 26 Mar 2008 11:18:05
Message-Id: 20080326121553.7ee7ae67.genone@gentoo.org
In Reply to: [gentoo-portage-dev] Re: querying whether pkg is installed with version X or upwards ("atom" syntax) (re-post) by Amit Dor-Shifer
1 On Wed, 26 Mar 2008 12:07:13 +0200
2 Amit Dor-Shifer <amitds@××××××.com> wrote:
3
4 > reposting, hoping for a reply this time.
5 > Thanks,
6 > Amit
7 >
8 > Amit Dor-Shifer wrote:
9 > > emerge features syntax for installing a package according to certain
10 > > bounds. This is referred to in the manpage as "atom" specification.
11 > >
12 > > I'm wondering whether equery has the same feature for querying.
13 > > E.G: I'd like to be able to ask:
14 > >
15 > > equery l '>=app-misc/my-pkg-1.1'
16 > >
17 > > I'd expect the listing to be empty when my-pkg is not installed, or
18 > > is installed by of version less than 1.1.
19
20 Well, most equery subcommands support the same atom syntax, just 'list'
21 and 'size' apparently don't implement it, as those support regular
22 expressions instead.
23
24 Marius
25 --
26 gentoo-portage-dev@l.g.o mailing list