summaryrefslogtreecommitdiff
path: root/bin/equery
AgeCommit message (Collapse)Author
2022-07-08metadata.py: Don't fail on unmatched packageMarco Sirabella
Added a warning hook too to reuse the GentoolkitNoMatches machinery This allows users to do something like: equery list @selected | xargs equery metadata successfuly, even if there are some selected packages that don't exist anymore. Signed-off-by: Marco Sirabella <marco@sirabella.org> Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
2021-09-20Change tabs to spaces (using autopep8). Also, format repo using black.Wolfgang E. Sanyer
The following command was used to change the tabs to spaces: autopep8 --in-place --select=E101,E11,E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E133,E20,E211,E22,E224,E224,E226,E227,E228,E231,E241,E242,E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306,W291,W293,W391 -r . And then black was run as `black .` on the entire tree Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-12-20Remove $Header$Matt Turner
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-12-20Remove imports from __future__Matt Turner
gentoolkit supports only Python 3.6+ now, so these are not used. Signed-off-by: Matt Turner <mattst88@gentoo.org>
2017-03-22update old Gentoo project nameMike Frysinger
2012-04-04equery: turn sys.argv into a parameterMike Frysinger
This lets other tools import equery and call the main func with its own set of flags. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Paul Varner <fuzzyray@gentoo.org>
2011-01-06Add gentoolkitNonZeroExit exceptionPaul Varner
This exception should only be used when an error is not fatal and the absence of information means no data was found. The return_code parameter can be used to set the exit value. Have the equery list module when in quiet mode return an exit status of 3. This is needed to prevent 'euse -I' from printing many 'No installed packages matching ...' error messages.
2010-03-12Update to genscripts rev 382. This has more fixes for py3k and the modular ↵fuzzyray
rewrite of eclean. svn path=/trunk/gentoolkit/; revision=755
2010-03-09sync with genscripts rev 343. This adds the initial py3k support and the ↵fuzzyray
analyse utility to gentoolkit svn path=/trunk/gentoolkit/; revision=751
2010-01-07Update Copyright date headersfuzzyray
svn path=/trunk/gentoolkit/; revision=731
2009-12-08Merge rev 113 from djanderson's genscripts repofuzzyray
svn path=/trunk/gentoolkit/; revision=703
2009-05-25Make bin files executablerbu
svn path=/trunk/gentoolkit/; revision=652
2009-05-05Rearrange trunk to support gentoolkit version 0.3. Split into gentoolkit, ↵fuzzyray
gentoolkit-dev, and deprecated. Import djanderson's work on the gentoolkit library and equery svn path=/trunk/gentoolkit/; revision=589