Gentoo Archives: gentoo-portage-dev

From: Amit Dor-Shifer <amitds@××××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] querying whether pkg is installed with version X or upwards ("atom" syntax)
Date: Tue, 12 Feb 2008 14:39:14
Message-Id: 47B1AF1C.8020306@oversi.com
1 emerge features syntax for installing a package according to certain
2 bounds. This is referred to in the manpage as "atom" specification.
3
4 I'm wondering whether equery has the same feature for querying. E.G: I'd
5 like to be able to ask:
6
7 equery l '>=app-misc/my-pkg-1.1'
8
9 I'd expect the listing to be empty when my-pkg is not installed, or is
10 installed by of version less than 1.1.
11
12 Thanks,
13
14 Amit
15 --
16 gentoo-portage-dev@l.g.o mailing list

Replies