| Age | Commit message (Collapse) | Author |
|
This reverts commit bbbde97b5e625a49a1a66e307931548cb33f260b.
setuptools only installs data files to the python pkg directory
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
flake8 did not correctly detect the way the variable is used.
Add an assert to eliminate the false detection.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Remove unused FORMAT_TMPL_VARS import
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
File "/home/brian/Dev/git/gentoolkit/pym/gentoolkit/equery/depends.py"
, line 106, in format_depend
self.print_fn(indent, str(dep.cpv), use_conditional, formatted_dep)
UnboundLocalError: local variable 'formatted_dep' referenced before
assignment
The statement appears to be added as preliminary debug info.
Removed it.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
A quick look into the source reveals that there is actually code to handle the case,
but it expects the wrong exception type.
This patch fixes that and also avoids a crash for other errors.
Bug: https://bugs.gentoo.org/494134
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Portage's metadata handling code was originally ported from gentoolkit.
Finally get around to migrating, eliminating duplicate code.
Bug: https://bugs.gentoo.org/573030
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Add description property to Package class.
If no description in metadata.xml, get the description from the ebuild.
Bug: https://bugs.gentoo.org/447538
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
original Author: buchner.johannes@gmx.at
Bug: https://bugs.gentoo.org/648444
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/506394
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/626308
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Gentoo-bug-url: https://bugs.gentoo.org/703282
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
eclean-pkg now uses imported emaint binhost code to run,
Properly handle --quiet option for progressbar suppression from emaint.
Keeps the standalone emaint binhost subprocess call as backup.
Closes: https://bugs.gentoo.org/688550
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
We'd like to use ekeyword in a git merge driver implementation, but the
files that the driver will pass to ekeyword do not necessarily have a
.ebuild suffix. Therefore, it would be handy to be able to distinguish
ebuild arguments some other way. If the ignorable_arg(arg) function
returns False and os.path.isfile(arg) returns True, then simply assume
that the argument is an ebuild.
Bug: https://bugs.gentoo.org/762331
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Closes: https://github.com/gentoo/gentoolkit/pull/13
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/652078
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Closes: https://github.com/gentoo/gentoolkit/pull/6
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Like in other modules it is now possible to format the
output of the equery module 'depends' with the commandline
switch '-F' and TMPL.
The man page was adujusted.
A new static method 'print_formated' was created.
In method 'format_depend' is checked if the new option is present.
Depending on the check the PackageFormatter is used to display
the dependencies.
manually apply github PR, some minor editing.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Martin Matous <m@matous.dev>
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
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>
|
|
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Option to include forced and masked USE flags in `equery uses` output.
- Marked with F / M in verbose/normal output
- Marked with (+flag) / (-flag) in non-verbose/piped output
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
This prevents log messages from being emitted more than once, especially
by the root level loggger.
Bug: https://bugs.gentoo.org/838406
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
Turns out the real issue causing the row alignment issue was this.
The code inadvertently dropped the dash display which in turn caused the
row alignment issue.
Reverts: 4695379c1921865d7763669580ac909ea94db90d
Gentoo-bug-url: https://bugs.gentoo.org/503366
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Reverts: 42cf522c06080d
Changes the content_length correctly for versionlist output
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
The first element in the plain_list was a "------" string. This was causing
the corner image to throw off the row alignment between the two columns.
This fix corrects the alignment, but removes the "------" above the keywords
to complete the header seperator line.
Gentoo-bug-url: https://bugs.gentoo.org/503366
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Yixun Lan <dlan@gentoo.org>
|
|
this will help to clean duplicated binpkg which has exact same USEs flags enabled,
and it will choose the more recent version according to BUILD_TIME by default
Closes: https://bugs.gentoo.org/727576
Closes: https://github.com/gentoo/gentoolkit/pull/20
Signed-off-by: Yixun Lan <dlan@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
egrep is considered an obsolete alias and newer greps will warn on this.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
We got rid of Changelogs years ago in ::gentoo and most Portage
support is gone too.
Closes: https://bugs.gentoo.org/832369
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://github.com/gentoo/gentoolkit/pull/17
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Closes: https://github.com/gentoo/gentoolkit/pull/16
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
Closes: https://github.com/gentoo/gentoolkit/pull/15
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
...regarding how to use black for formatting code, and how to ignore
formatting-only commits in git.
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|