It would be really nice to have the equivalent of equery list in portage-utils to do something like that: $ equery --quiet list '>=sys-devel/gcc-4.8.2:4.8' sys-devel/gcc-4.8.3 equery is really slow and using the libq logic would lead to real benefits in a such case. Reproducible: Always
how does `qlist -Iv` not satisfy this ? $ qlist -eIv dev-lang/python dev-lang/python-2.7.9-r2 dev-lang/python-3.2.5-r6 dev-lang/python-3.3.5-r1 dev-lang/python-3.4.2 $ qlist -eIv '>dev-lang/python-3.0' dev-lang/python-3.2.5-r6 dev-lang/python-3.3.5-r1 dev-lang/python-3.4.2 $ qlist -eIv '>dev-lang/python-3.4' dev-lang/python-3.4.2
(In reply to SpanKY from comment #1) > how does `qlist -Iv` not satisfy this ? > > $ qlist -eIv dev-lang/python > dev-lang/python-2.7.9-r2 > dev-lang/python-3.2.5-r6 > dev-lang/python-3.3.5-r1 > dev-lang/python-3.4.2 > > $ qlist -eIv '>dev-lang/python-3.0' > dev-lang/python-3.2.5-r6 > dev-lang/python-3.3.5-r1 > dev-lang/python-3.4.2 > > $ qlist -eIv '>dev-lang/python-3.4' > dev-lang/python-3.4.2 I'm glad to see that it works like a charm for slot as well: $ qlist -eIv 'dev-lang/python:3.3' dev-lang/python-3.3.5-r1 Closing the bug as there is no enhancement to do. Sorry for the noise. Thanks !
(In reply to Bertrand Jacquin from comment #2) > (In reply to SpanKY from comment #1) > > how does `qlist -Iv` not satisfy this ? > > > > $ qlist -eIv dev-lang/python > > dev-lang/python-2.7.9-r2 > > dev-lang/python-3.2.5-r6 > > dev-lang/python-3.3.5-r1 > > dev-lang/python-3.4.2 > > > > $ qlist -eIv '>dev-lang/python-3.0' > > dev-lang/python-3.2.5-r6 > > dev-lang/python-3.3.5-r1 > > dev-lang/python-3.4.2 > > > > $ qlist -eIv '>dev-lang/python-3.4' > > dev-lang/python-3.4.2 > > I'm glad to see that it works like a charm for slot as well: > > $ qlist -eIv 'dev-lang/python:3.3' > dev-lang/python-3.3.5-r1 > > Closing the bug as there is no enhancement to do. Sorry for the noise. > Thanks ! But I may, that would be nice to get return code different than zero when current system does not match the criteria. What do you think ?
(In reply to Bertrand Jacquin from comment #3) can't think of a reason to not do it: http://git.overlays.gentoo.org/gitweb/?p=proj/portage-utils.git;a=commitdiff;h=4240e7476f0beacc8791a0439deee477a1654044
(In reply to SpanKY from comment #4) > (In reply to Bertrand Jacquin from comment #3) > > can't think of a reason to not do it: > http://git.overlays.gentoo.org/gitweb/?p=proj/portage-utils.git;a=commitdiff; > h=4240e7476f0beacc8791a0439deee477a1654044 Thanks a lot !