public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] querying whether pkg is installed with version X or upwards ("atom" syntax)
@ 2008-02-12 14:37 Amit Dor-Shifer
  2008-03-26 10:07 ` [gentoo-portage-dev] Re: querying whether pkg is installed with version X or upwards ("atom" syntax) (re-post) Amit Dor-Shifer
  0 siblings, 1 reply; 3+ messages in thread
From: Amit Dor-Shifer @ 2008-02-12 14:37 UTC (permalink / raw
  To: gentoo-portage-dev

emerge features syntax for installing a package according to certain
bounds. This is referred to in the manpage as "atom" specification.

I'm wondering whether equery has the same feature for querying. E.G: I'd
like to be able to ask:

equery l '>=app-misc/my-pkg-1.1'

I'd expect the listing to be empty when my-pkg is not installed, or is
installed by of version less than 1.1.

Thanks,

Amit
-- 
gentoo-portage-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-portage-dev] Re: querying whether pkg is installed with version X or upwards ("atom" syntax) (re-post)
  2008-02-12 14:37 [gentoo-portage-dev] querying whether pkg is installed with version X or upwards ("atom" syntax) Amit Dor-Shifer
@ 2008-03-26 10:07 ` Amit Dor-Shifer
  2008-03-26 11:15   ` Marius Mauch
  0 siblings, 1 reply; 3+ messages in thread
From: Amit Dor-Shifer @ 2008-03-26 10:07 UTC (permalink / raw
  To: gentoo-portage-dev

reposting, hoping for a reply this time.
Thanks,
Amit

Amit Dor-Shifer wrote:
> emerge features syntax for installing a package according to certain
> bounds. This is referred to in the manpage as "atom" specification.
>
> I'm wondering whether equery has the same feature for querying. E.G: I'd
> like to be able to ask:
>
> equery l '>=app-misc/my-pkg-1.1'
>
> I'd expect the listing to be empty when my-pkg is not installed, or is
> installed by of version less than 1.1.
>
> Thanks,
>
> Amit
>
>   
-- 
gentoo-portage-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] Re: querying whether pkg is installed with version X or upwards ("atom" syntax) (re-post)
  2008-03-26 10:07 ` [gentoo-portage-dev] Re: querying whether pkg is installed with version X or upwards ("atom" syntax) (re-post) Amit Dor-Shifer
@ 2008-03-26 11:15   ` Marius Mauch
  0 siblings, 0 replies; 3+ messages in thread
From: Marius Mauch @ 2008-03-26 11:15 UTC (permalink / raw
  To: gentoo-portage-dev

On Wed, 26 Mar 2008 12:07:13 +0200
Amit Dor-Shifer <amitds@oversi.com> wrote:

> reposting, hoping for a reply this time.
> Thanks,
> Amit
> 
> Amit Dor-Shifer wrote:
> > emerge features syntax for installing a package according to certain
> > bounds. This is referred to in the manpage as "atom" specification.
> >
> > I'm wondering whether equery has the same feature for querying.
> > E.G: I'd like to be able to ask:
> >
> > equery l '>=app-misc/my-pkg-1.1'
> >
> > I'd expect the listing to be empty when my-pkg is not installed, or
> > is installed by of version less than 1.1.

Well, most equery subcommands support the same atom syntax, just 'list'
and 'size' apparently don't implement it, as those support regular
expressions instead.

Marius
-- 
gentoo-portage-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-26 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12 14:37 [gentoo-portage-dev] querying whether pkg is installed with version X or upwards ("atom" syntax) Amit Dor-Shifer
2008-03-26 10:07 ` [gentoo-portage-dev] Re: querying whether pkg is installed with version X or upwards ("atom" syntax) (re-post) Amit Dor-Shifer
2008-03-26 11:15   ` Marius Mauch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox