aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to PEP517 meson-python buildgentoolkit-0.6.3Zac Medico2023-10-121-2/+2
| | | | | | | Bug: https://bugs.gentoo.org/909888 Signed-off-by: Zac Medico <zmedico@gentoo.org> Closes: https://github.com/gentoo/gentoolkit/pull/36 Signed-off-by: Sam James <sam@gentoo.org>
* Run `pyupgrade --py39-plus`Sam James2023-08-071-15/+15
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Support the NO_COLOR environment variableUlrich Müller2023-03-221-2/+2
| | | | | | | Bug: https://bugs.gentoo.org/902551 Signed-off-by: Ulrich Müller <ulm@gentoo.org> Closes: https://github.com/gentoo/gentoolkit/pull/26 Signed-off-by: Sam James <sam@gentoo.org>
* equery: Set nocolor for piping to after options are parsedBrian Dolbec2022-07-281-2/+4
| | | | | | | | Fixes commit 84ffe42e5 which set nocolor before options were parsed. Bug: https://bugs.gentoo.org/861116 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* equery: Turn off color when piping is setBrian Dolbec2022-07-091-0/+2
| | | | | | Bug: https://bugs.gentoo.org/506394 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* Change tabs to spaces (using autopep8). Also, format repo using black.Wolfgang E. Sanyer2021-09-201-274/+282
| | | | | | | | | | | 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>
* equery: Remove leftovers from 'changes' removalMatt Turner2021-07-161-1/+0
| | | | | | Closes: https://bugs.gentoo.org/796986 Fixes: bcb8158 ("equery: Remove 'changes' subcommand") Signed-off-by: Matt Turner <mattst88@gentoo.org>
* equery: Remove 'changes' subcommandMatt Turner2021-01-041-1/+0
| | | | | | | | | | ChangeLogs have been gone from gentoo.git since the beginning, and Council agreed in 2016 to allow Infra to decide whether to distribute them through rsync, which they have decided not to do [1]. [1] https://projects.gentoo.org/council/meeting-logs/20160410-summary.txt Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Remove $Header$Matt Turner2020-12-201-2/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Remove imports from __future__Matt Turner2020-12-201-2/+0
| | | | | | gentoolkit supports only Python 3.6+ now, so these are not used. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Add (and fix) flake8 checks in toxVirgil Dupras2018-08-141-1/+0
| | | | | | | | | | | | | | Add config in tox to run flake8 checks. For now, only "F*" errors are checked (errors reported by pyflakes). pep8 style checks are ignored for now. This is accompanied by changes in the code that are necessary to silence these errors. Most of them were about unused imports, but also unsed referenced and even undefined ones (meaning that this code path was broken, gotta increase test coverage). This setup will replace pylint which reports way too many errors to be usable (see next commit).
* Add fifo type to equery files, bug 480308.Brian Dolbec2013-08-111-1/+4
|
* update 'svn' versions to 'git', not man pages with already set versions. Brian Dolbec2012-12-221-1/+1
|
* drop trailing whitespaceMike Frysinger2012-12-191-2/+2
| | | | | | Should be no functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* py 3.3 fix for bug 436934. Change the level parameter for the __import__() ↵Brian Dolbec2012-10-061-1/+1
| | | | call.
* Remove check of isatty when guessing color.Paul Varner2012-09-061-2/+2
| | | | | | When going through a pipe, color is already turned off. This allows color to be restored with the --no-pipe option. If color is not desired with --no-pipe, then --nocolor should also be specified.
* equery: turn sys.argv into a parameterMike Frysinger2012-04-041-3/+3
| | | | | | | | 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>
* Fix bug 400957 where -hC did not work to to printing help immediately upon ↵Brian Dolbec2012-01-271-3/+5
| | | | finding the -h option and not parsing the remaining options. Fixed equery, enalyze, eclean, revdep-rebuild (although, python revdep did not colorize the help).
* Fix equery's term_width too.Brian Dolbec2011-12-221-1/+1
|
* found a better spot to set piping wrap width so as to disable for all piping ↵gentoolkit-0.3.0.3dol-sen2011-05-161-1/+3
| | | | | regardless of the --no-pipe option which would turn off setting 'quiet' on. Signed-off-by: dol-sen <brian.dolbec@gmail.com>
* add CONFIG['termWidth'] setting to the no-pipe option to effectively turn ↵dol-sen2011-05-161-0/+1
| | | | | off textwraping. This fixes issues with scripts parsing output.
* Change keywords short option to 'y' from 'k' which was already taken by the ↵fuzzyray2010-11-151-2/+2
| | | | | | check keyword. Uncomment has keyword in test_init.py svn path=/trunk/gentoolkit/; revision=849
* Initial commit to add equery keywords support for executing eshowkw.scarabeus2010-10-281-0/+2
| | | | svn path=/trunk/gentoolkit/; revision=837
* Merge from genscripts r446: brian.dolbecfuzzyray2010-09-221-0/+2
| | | | | | | | | | | fix the new has module description line. Merge from genscripts r442: brian.dolbec initial commit of a general purpose equery has module useable for nearly all the available vardb ENVIRONMENT data svn path=/trunk/gentoolkit/; revision=810
* Merge genscripts rev 406fuzzyray2010-03-241-5/+2
| | | | svn path=/trunk/gentoolkit/; revision=756
* Update to genscripts rev 382. This has more fixes for py3k and the modular ↵fuzzyray2010-03-121-4/+8
| | | | | | rewrite of eclean. svn path=/trunk/gentoolkit/; revision=755
* sync with genscripts rev 343. This adds the initial py3k support and the ↵fuzzyray2010-03-091-19/+20
| | | | | | analyse utility to gentoolkit svn path=/trunk/gentoolkit/; revision=751
* Update Copyright date headersfuzzyray2010-01-071-1/+1
| | | | svn path=/trunk/gentoolkit/; revision=731
* Revert part of last fix, since it broke pipe detectionand caused a tracebackfuzzyray2009-12-171-0/+2
| | | | svn path=/trunk/gentoolkit/; revision=728
* Fix equery --no-pipe to work correctlyfuzzyray2009-12-171-2/+1
| | | | svn path=/trunk/gentoolkit/; revision=727
* Merge genscripts rev 137, this revision makes the output of equery meta ↵fuzzyray2009-12-141-2/+2
| | | | | | compatible with epkginfo svn path=/trunk/gentoolkit/; revision=722
* Merge with rev 120 from the genscripts repofuzzyray2009-12-101-3/+3
| | | | svn path=/trunk/gentoolkit/; revision=712
* Merge rev 113 from djanderson's genscripts repofuzzyray2009-12-081-76/+77
| | | | svn path=/trunk/gentoolkit/; revision=703
* Update with rev 9 from the genscripts repofuzzyray2009-06-041-2/+0
| | | | svn path=/trunk/gentoolkit/; revision=661
* Apply updates from genscripts repofuzzyray2009-06-031-71/+15
| | | | svn path=/trunk/gentoolkit/; revision=659
* Change /etc/gentoolkit-version to /usr/share/gentoolkit/VERSIONfuzzyray2009-05-211-1/+1
| | | | svn path=/trunk/gentoolkit/; revision=651
* Rearrange trunk to support gentoolkit version 0.3. Split into gentoolkit, ↵fuzzyray2009-05-051-0/+407
gentoolkit-dev, and deprecated. Import djanderson's work on the gentoolkit library and equery svn path=/trunk/gentoolkit/; revision=589