1 |
commit: 1440e052042b0752fad2a3668424b1099d3bf201 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Apr 26 20:54:22 2020 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Apr 26 20:54:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1440e052 |
7 |
|
8 |
app-misc/cheat: install man, add zsh-completion blocker |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
.../cheat/{cheat-3.9.0.ebuild => cheat-3.9.0-r1.ebuild} | 13 +++++++------ |
14 |
app-misc/cheat/metadata.xml | 3 --- |
15 |
2 files changed, 7 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/cheat/cheat-3.9.0.ebuild b/app-misc/cheat/cheat-3.9.0-r1.ebuild |
18 |
similarity index 96% |
19 |
rename from app-misc/cheat/cheat-3.9.0.ebuild |
20 |
rename to app-misc/cheat/cheat-3.9.0-r1.ebuild |
21 |
index efd0b68..5644e85 100644 |
22 |
--- a/app-misc/cheat/cheat-3.9.0.ebuild |
23 |
+++ b/app-misc/cheat/cheat-3.9.0-r1.ebuild |
24 |
@@ -1,7 +1,7 @@ |
25 |
# Copyright 2019-2020 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=7 |
29 |
+EAPI="7" |
30 |
|
31 |
inherit go-module |
32 |
|
33 |
@@ -91,12 +91,13 @@ LICENSE="MIT Apache-2.0 BSD BSD-2" |
34 |
SLOT="0" |
35 |
KEYWORDS="~amd64" |
36 |
|
37 |
-IUSE="man zsh-completion" |
38 |
+IUSE="zsh-completion" |
39 |
|
40 |
-BDEPEND=">=dev-lang/go-1.13 |
41 |
- man? ( app-text/pandoc ) |
42 |
+BDEPEND=" |
43 |
+ app-text/pandoc |
44 |
+ >=dev-lang/go-1.13 |
45 |
" |
46 |
-RDEPEND="zsh-completion? ( app-shells/zsh-completions )" |
47 |
+RDEPEND="zsh-completion? ( !app-shells/zsh-completions )" |
48 |
|
49 |
src_install() { |
50 |
dobin "dist/${PN}" |
51 |
@@ -104,5 +105,5 @@ src_install() { |
52 |
insinto /usr/share/zsh/site-functions |
53 |
newins scripts/cheat.zsh _cheat |
54 |
fi |
55 |
- use man && doman doc/cheat.1 |
56 |
+ doman doc/cheat.1 |
57 |
} |
58 |
|
59 |
diff --git a/app-misc/cheat/metadata.xml b/app-misc/cheat/metadata.xml |
60 |
index d1a353e..ee80479 100644 |
61 |
--- a/app-misc/cheat/metadata.xml |
62 |
+++ b/app-misc/cheat/metadata.xml |
63 |
@@ -5,9 +5,6 @@ |
64 |
<email>mathieu.tortuyaux@×××××.com</email> |
65 |
<name>Mathieu Tortuyaux</name> |
66 |
</maintainer> |
67 |
- <use> |
68 |
- <flag name="man">build and install man pages</flag> |
69 |
- </use> |
70 |
<longdescription lang="en"> |
71 |
cheat allows you to create and view interactive cheatsheets on the command-line. |
72 |
It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember. |