Skip to content

Commit d6e0267

Browse files
authored
Merge pull request #681 from macaroni-os/merge/mark-31/bump-sys-apps_eza-0_21_4
mark-devkit: [mark-31] Bump sys-apps/eza-0.21.4
2 parents 449e3d4 + 8372689 commit d6e0267

2 files changed

Lines changed: 71 additions & 0 deletions

File tree

sys-apps/eza/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
DIST eza-0.21.1-87a815a.tar.gz 1421633 BLAKE2B a5cf490496fcb45fbc886ad56dd14a911c5cb0b41e02c414f23e3d9571267594a6f441b1e0f47542e1f8a78257e389856f68c2e87a7de6795fff31d7be303f88 SHA512 9a241aba4b6a85bd20092ad41065819c0bfaf276810bf774a1a7bfc19af50ff1dc3623b963cd32951bc968d58e0e0703c2057c70f532f77f48d1c2795a5218d4
22
DIST eza-0.21.1-funtoo-crates-bundle-683c69fe37dea70ea4ac157edaa70692ad418eb7a6a9da97ed4418ea9abb7f403528d653ef730f93aac1d80d5ef8573c5ae8350b1314220104d8714b02421332.tar.gz 45555486 BLAKE2B df4442173e6ae18feea0fd90503e20a38f9cdce6059780baab17782b8630d2f57d4a7e66528a1e8df1da6a37ffc75214ed6fd54dd05706ee106613ac9b5b6118 SHA512 a335ea821dfaf44a3dd29ad1e8c5e3a2ec0cfb53ec5483ededf521fc034d2d7ed0075c69989867db53889d43edf0b5e81ea239be54f998a7359b844710a4402d
3+
DIST eza-0.21.4-a72d4fd.tar.gz 1425444 BLAKE2B 6210d9786895d39ef1ca457f1f4561470bdbcf427d0b40bdca7ffb5b76b0d53630c0c2688c99b9a6c11d61dd8bb22b76ac6d6ff2fd443f58b5267a9f6e535554 SHA512 175ccb94d215d724fcedba5202dd8cf86158c86d81fc99b561d6f36f3057054e8b87ba6d373b29a6664f910260fafc332c9d91c7f2035e389f2d1c54f660b126
4+
DIST eza-0.21.4-funtoo-crates-bundle-a1dd3092ce63b17b5ccb11f25f34a3af59506dd878a1ae40936d7fbb178b2cd37019843db167a984f9d1492fe2f8e2845bc7958c94bb54a0ebdc52e6fdb8631f.tar.gz 45595451 BLAKE2B 92450b9398da4af82c2380f6d5679d3249747cb9903fe85031d9a7df0e1be34963ba7b37477aa5036c467d11b9cbd9018acc3d48199c1d19cd52f8126b71b2f7 SHA512 8b0a120b4976cf75dbb495fff91bf986df2255025c9feee65459170667a4df475ee270a8de64d395234f6822242cf7158edba6fe754bd987807974a5a3995e7c

sys-apps/eza/eza-0.21.4.ebuild

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Distributed under the terms of the GNU General Public License v2
2+
3+
EAPI=7
4+
5+
inherit bash-completion-r1 cargo
6+
7+
DESCRIPTION="A modern alternative to ls"
8+
HOMEPAGE="https://eza.rocks https://github.com/eza-community/eza"
9+
SRC_URI="https://github.com/eza-community/eza/tarball/a72d4fdd580b5310894ac44b7f8a71b693ba458d -> eza-0.21.4-a72d4fd.tar.gz
10+
https://distfiles.macaronios.org/8b/0a/12/8b0a120b4976cf75dbb495fff91bf986df2255025c9feee65459170667a4df475ee270a8de64d395234f6822242cf7158edba6fe754bd987807974a5a3995e7c -> eza-0.21.4-funtoo-crates-bundle-a1dd3092ce63b17b5ccb11f25f34a3af59506dd878a1ae40936d7fbb178b2cd37019843db167a984f9d1492fe2f8e2845bc7958c94bb54a0ebdc52e6fdb8631f.tar.gz"
11+
12+
LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 CC0-1.0 ISC LGPL-3+ MIT Apache-2.0 Unlicense ZLIB"
13+
SLOT="0"
14+
KEYWORDS="*"
15+
IUSE="+git"
16+
17+
DEPEND="
18+
git? (
19+
dev-libs/libgit2:=
20+
)
21+
"
22+
RDEPEND="${DEPEND}"
23+
BDEPEND="
24+
|| ( app-text/pandoc-bin app-text/pandoc )
25+
virtual/rust
26+
"
27+
28+
DOCS=( README.md CHANGELOG.md )
29+
30+
QA_FLAGS_IGNORED="/usr/bin/eza"
31+
32+
src_unpack() {
33+
cargo_src_unpack
34+
rm -rf ${S}
35+
mv ${WORKDIR}/eza-community-eza-* ${S} || die
36+
}
37+
38+
src_configure() {
39+
local myfeatures=(
40+
$(usev git)
41+
)
42+
# https://bugs.funtoo.org/browse/FL-11956
43+
# Enabling vendoring of libgit2 as eza requires version >= 1.7.2
44+
# Once Funtoo has a new version this can be changed back to 1 for
45+
# linking against the Funtoo system libgit2
46+
export LIBGIT2_NO_VENDOR=0
47+
export PKG_CONFIG_ALLOW_CROSS=1
48+
cargo_src_configure --no-default-features
49+
50+
find ${S}/man -iname "*.md" -type f -exec sh -c 'pandoc --standalone -f markdown -t man "${0}" -o "${0%.md} "' {} \; || die
51+
rm -f ${S}/man/*.md || die
52+
mv ${S}/man ${S}/man.tmp || die
53+
54+
}
55+
56+
src_install() {
57+
cargo_src_install
58+
einstalldocs
59+
60+
newbashcomp completions/bash/eza eza
61+
62+
insinto /usr/share/zsh/site-functions
63+
doins completions/fish/eza.fish
64+
65+
insinto /usr/share/fish/vendor_completions.d
66+
doins completions/zsh/_eza
67+
68+
doman man.tmp/*
69+
}

0 commit comments

Comments
 (0)