Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bat/
Date: Wed, 07 Jul 2021 10:54:24
Message-Id: 1625655216.3e73577a7504992d2d268fbf5ee43032c012d1f7.juippis@gentoo
1 commit: 3e73577a7504992d2d268fbf5ee43032c012d1f7
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 7 10:53:36 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 7 10:53:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e73577a
7
8 sys-apps/bat: update DESCRIPTION on 0.18.1
9
10 - add missing dies,
11 - remove arm keyword since it wasn't requested through bugzilla,
12 - remove redundant DEPEND.
13
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 sys-apps/bat/bat-0.18.1.ebuild | 7 +++----
17 1 file changed, 3 insertions(+), 4 deletions(-)
18
19 diff --git a/sys-apps/bat/bat-0.18.1.ebuild b/sys-apps/bat/bat-0.18.1.ebuild
20 index 535c276e0f7..ca85a16743f 100644
21 --- a/sys-apps/bat/bat-0.18.1.ebuild
22 +++ b/sys-apps/bat/bat-0.18.1.ebuild
23 @@ -152,7 +152,7 @@ CRATES="
24
25 inherit cargo
26
27 -DESCRIPTION="A cat(1) clone with wings."
28 +DESCRIPTION="cat(1) clone with syntax highlighting and Git integration"
29 # Double check the homepage as the cargo_metadata crate
30 # does not provide this value so instead repository is used
31 HOMEPAGE="https://github.com/sharkdp/bat"
32 @@ -161,13 +161,12 @@ SRC_URI+=" $(cargo_crate_uris ${CRATES})"
33
34 LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 CC0-1.0 ISC LGPL-3+ MIT Apache-2.0 Unlicense ZLIB"
35 SLOT="0"
36 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
37 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
38
39 BDEPEND="virtual/pkgconfig"
40 DEPEND="
41 >=dev-libs/libgit2-1.1.0:=[threads]
42 dev-libs/oniguruma:=
43 - sys-libs/zlib
44 "
45 # >app-backup/bacula-9.2[qt5] has file collisions, #686118
46 RDEPEND="${DEPEND}
47 @@ -196,7 +195,7 @@ src_install() {
48
49 # Hack to find/install generated zsh completions files as it can be present in
50 # multiple directories
51 - local BUILD_DIR="$(dirname $(find target/release -name bat.zsh -print -quit))"
52 + local BUILD_DIR="$(dirname $(find target/release -name bat.zsh -print -quit || die) || die)"
53 insinto /usr/share/zsh/site-functions/
54 newins "${BUILD_DIR}"/bat.zsh _${PN}
55 }