Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoolkit:master commit in: pym/gentoolkit/equery/, man/
Date: Fri, 16 Jul 2021 21:25:48
Message-Id: 1626470504.55170b5be88df6d5d8f6e07ecb39fc1a86d3426a.mattst88@gentoo
1 commit: 55170b5be88df6d5d8f6e07ecb39fc1a86d3426a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 21:21:44 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 21:21:44 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=55170b5b
7
8 equery: Remove leftovers from 'changes' removal
9
10 Closes: https://bugs.gentoo.org/796986
11 Fixes: bcb8158 ("equery: Remove 'changes' subcommand")
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 man/equery.1 | 48 ---------------------------------------
15 pym/gentoolkit/equery/__init__.py | 1 -
16 2 files changed, 49 deletions(-)
17
18 diff --git a/man/equery.1 b/man/equery.1
19 index 3b85bee..f7a5deb 100644
20 --- a/man/equery.1
21 +++ b/man/equery.1
22 @@ -87,54 +87,6 @@ Tell
23 .B emerge
24 to reinstall or update any package that installed a file matching a regular expression.
25
26 -.SS
27 -.BI "changes (c) [OPTIONS] " "PKG"
28 -Display the Gentoo ChangeLog entry for the latest installable version of \fIPKG\fP.
29 -
30 -.I R "LOCAL OPTIONS" ":"
31 -.HP
32 -.B \-l, \-\-latest
33 -.br
34 -Display only the latest ChangeLog entry. It's not uncommon for changes to be prepended to the ChangeLog without a version header if the changes did not require a version bump. Use this option to display such entries.
35 -.HP
36 -.B \-f, \-\-full
37 -.br
38 -Display the full ChangeLog.
39 -.br
40 -\fBHint\fP: Try piping (|) the output to a pager, like 'less'.
41 -.HP
42 -.BI "\-\-limit=" "NUM"
43 -.br
44 -Limit the \fINUM\fP of entries displayed. Use this option in conjunction with \fB\-\-full\fP. \fB\-\-limit=3\fP would display the three latest entries.
45 -.HP
46 -.BI "\-\-from=" "VER"
47 -.br
48 -Set which \fIVER\fP to display from. Using this option by itself is equivalent to passing \fBchanges\fP a ranged package atom, e.g., '>=foo/bar\-1.5'. It can be used in conjunction with \fB\-\-to\fP to request a more complex range of entries.
49 -.HP
50 -.BI "\-\-to=" "VER"
51 -.br
52 -Set which \fIVER\fP to display to. (See \fB\-\-from\fP)
53 -.P
54 -.I R "EXAMPLES" ":"
55 -.EX
56 -.HP
57 -equery changes portage
58 -.EE
59 -.br
60 -Display the Gentoo ChangeLog entry for the latest installable version of Portage.
61 -.EX
62 -.HP
63 -equery changes '=sys\-apps/portage\-2.1.6*'
64 -.EE
65 -.br
66 -Use Portage's atom syntax. (See \fBman 5 ebuild\fP)
67 -.EX
68 -.HP
69 -equery changes portage \-\-from=2.2_rc1 \-\-to=2.2
70 -.EE
71 -.br
72 -Display any ChangeLog entry within a range of versions.
73 -
74 .SS
75 .BI "check (k) [OPTIONS] " "PKG"
76 Check timestamps and MD5 sums for files owned by \fIPKG\fP, where \fIPKG\fP is an installed package.
77
78 diff --git a/pym/gentoolkit/equery/__init__.py b/pym/gentoolkit/equery/__init__.py
79 index 677f534..e5b3deb 100644
80 --- a/pym/gentoolkit/equery/__init__.py
81 +++ b/pym/gentoolkit/equery/__init__.py
82 @@ -82,7 +82,6 @@ def print_help(with_description=True):
83 print(pp.command("modules") + " (" + pp.command("short name") + ")")
84 print(format_options((
85 (" (b)elongs", "list what package FILES belong to"),
86 - (" (c)hanges", "list changelog entries for ATOM"),
87 (" chec(k)", "verify checksums and timestamps for PKG"),
88 (" (d)epends", "list all packages directly depending on ATOM"),
89 (" dep(g)raph", "display a tree of all dependencies for PKG"),