diff options
| author | scarabeus <scarabeus@gentoo.org> | 2010-10-28 21:18:06 +0000 |
|---|---|---|
| committer | scarabeus <scarabeus@gentoo.org> | 2010-10-28 21:18:06 +0000 |
| commit | 7736c7d22e9c5692fef8b73a3a27bf9c6c101918 (patch) | |
| tree | 8583f7a10ea430f5e1606516615e194530549a79 /pym | |
| parent | 5f524d8562ce9a78fe5f203a11c3fa622c643608 (diff) | |
| download | gentoolkit-7736c7d22e9c5692fef8b73a3a27bf9c6c101918.tar.gz | |
Initial commit to add equery keywords support for executing eshowkw.
svn path=/trunk/gentoolkit/; revision=837
Diffstat (limited to 'pym')
| -rw-r--r-- | pym/gentoolkit/equery/__init__.py | 2 | ||||
| -rw-r--r-- | pym/gentoolkit/equery/keywords.py | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py index be30ed8..6fcdd02 100644 --- a/pym/gentoolkit/equery/__init__.py +++ b/pym/gentoolkit/equery/__init__.py @@ -54,6 +54,7 @@ NAME_MAP = { 'f': 'files', 'h': 'hasuse', 'l': 'list_', + 'k': 'keywords', 'a': 'has', 'm': 'meta', 's': 'size', @@ -94,6 +95,7 @@ def print_help(with_description=True): (" (f)iles", "list all files installed by PKG"), (" h(a)s", "list all packages for matching ENVIRONMENT data stored in /var/db/pkg"), (" (h)asuse", "list all packages that have USE flag"), + (" (k)keywords", "display keywords for specified PKG"), (" (l)ist", "list package matching PKG"), (" (m)eta", "display metadata about PKG"), (" (s)ize", "display total size of all files owned by PKG"), diff --git a/pym/gentoolkit/equery/keywords.py b/pym/gentoolkit/equery/keywords.py new file mode 100644 index 0000000..f876510 --- /dev/null +++ b/pym/gentoolkit/equery/keywords.py @@ -0,0 +1,7 @@ +# Copyright 2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +import sys +from ...gentoolkit.eshowkw import main as emain + +emain(sys.argv) |
