commit: 1440e052042b0752fad2a3668424b1099d3bf201
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 20:54:22 2020 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr 26 20:54:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1440e052
app-misc/cheat: install man, add zsh-completion blocker
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../cheat/{cheat-3.9.0.ebuild => cheat-3.9.0-r1.ebuild} | 13 +++++++------
app-misc/cheat/metadata.xml | 3 ---
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/app-misc/cheat/cheat-3.9.0.ebuild
b/app-misc/cheat/cheat-3.9.0-r1.ebuild
similarity index 96%
rename from app-misc/cheat/cheat-3.9.0.ebuild
rename to app-misc/cheat/cheat-3.9.0-r1.ebuild
index efd0b68..5644e85 100644
--- a/app-misc/cheat/cheat-3.9.0.ebuild
+++ b/app-misc/cheat/cheat-3.9.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI="7"
inherit go-module
@@ -91,12 +91,13 @@ LICENSE="MIT Apache-2.0 BSD BSD-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="man zsh-completion"
+IUSE="zsh-completion"
-BDEPEND=">=dev-lang/go-1.13
- man? ( app-text/pandoc )
+BDEPEND="
+ app-text/pandoc
+ >=dev-lang/go-1.13
"
-RDEPEND="zsh-completion? ( app-shells/zsh-completions )"
+RDEPEND="zsh-completion? ( !app-shells/zsh-completions )"
src_install() {
dobin "dist/${PN}"
@@ -104,5 +105,5 @@ src_install() {
insinto /usr/share/zsh/site-functions
newins scripts/cheat.zsh _cheat
fi
- use man && doman doc/cheat.1
+ doman doc/cheat.1
}
diff --git a/app-misc/cheat/metadata.xml b/app-misc/cheat/metadata.xml
index d1a353e..ee80479 100644
--- a/app-misc/cheat/metadata.xml
+++ b/app-misc/cheat/metadata.xml
@@ -5,9 +5,6 @@
<email>[email protected]</email>
<name>Mathieu Tortuyaux</name>
</maintainer>
- <use>
- <flag name="man">build and install man pages</flag>
- </use>
<longdescription lang="en">
cheat allows you to create and view interactive cheatsheets on the
command-line.
It was designed to help remind *nix system administrators of options for
commands that they use frequently, but not frequently enough to remember.