Skip to content

Commit

Permalink
sys-apps/eza: bump to eza-0.18.7
Browse files Browse the repository at this point in the history
Signed-off-by: Ruowen Qin <[email protected]>
  • Loading branch information
chinrw committed Mar 18, 2024
1 parent bed11c7 commit 4600bf9
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-apps/eza/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ DIST eza-0.18.3.tar.gz 1524612 BLAKE2B 44c911684de3a1f8136db732a15554dc99ff87a52
DIST eza-0.18.4.tar.gz 1524546 BLAKE2B 092a112389b285fc4b5cd6af6900ffaf25e377a3459cc4a2f155e31d4f418d6d5b20a4cf5e37c7b831ea94ec4a13430684b0812132d147b896959a0ae7bddaf4 SHA512 1efbdffcf8750481ad733b0770180f7d13b035c80622fc25ac36884d64734eddb65778c971569d54841dd954230ba6ef2aaa0b1796746c4b3108db09c680abd5
DIST eza-0.18.5.tar.gz 1524679 BLAKE2B c0c540de2e258329dd60d3830a7e7aca32fecee4b9c0b6c124fbbc9e91cde3aad47b28eac64ce14b9c2862284273e794ba4bdbdcee9654f165944526a6151388 SHA512 06355e187df76fb0daff02e180da60938ffad621885e7b40b2b60a2caf0deb5a51cfa6f079c5f8a73ad3e0bafa1bbcff827ab7988906d48d9f362887aefa8ac6
DIST eza-0.18.6.tar.gz 1385830 BLAKE2B b2f2b3a72388a0b33ba80c206d32a52df36325c40dddf68420b70cf59a41769ffb54599ea5a021d0f28a5f7df795b6c98993104158c590a723d1fe50596201c1 SHA512 f7e492e19a74e66b63658734b2f01c3908ce5364c3ba50982c9dadb3f8c52137d86b341af71c4362388163a19cff0b21a04452d071100bac9b471498f8b2b266
DIST eza-0.18.7.tar.gz 1385835 BLAKE2B ae2c97706c87bedb3802bd7950ce88301a8bade7930afe53621e305700f8b67e670a4ec56d71515b3468de3eb0be4f482204c7dd4c934c3ec4ab8f8353350594 SHA512 d593acef09674b36e8981d76b84a43f2ec1eb08fde25c4aad533358ad970ea97008426f66e50a5ed4839aff421dfbb74b3349edad02e30f50999e461112c1466
DIST fast-srgb8-1.0.0.crate 17214 BLAKE2B c5d2e04bf43fccdcd31d6f81cdcde3d89bf0ce94bbc506c2bc09c62b4e83469a2b72db0bb09f4cc2495ace7510834e7fe49df6aa7864092452d9f7865f35cc14 SHA512 834edef5eb4ec23b9e627b5e879a1649af19a17a1af0bae97c040869dbd14751ff3b29a606c52e5fe07b60f07fb695f328409c39788a4e74af0ab7b716688a0b
DIST fastrand-2.0.0.crate 14402 BLAKE2B 8bf830151ec616dbc25f216265722e39f8a2cd9ae036b0904b73775a30497368aaf9bb7f49890c330024c3d9b8084749c91f601b60b53bc8cef2da8b0aa71322 SHA512 9449dd52e4b722d5747f68f127843c0d1a402765c2b6186b9526f8ae23293cb1f6b50adcbf18a8ea768292642184cb0eb42b1801d20f6815397903f9977f3cbc
DIST filetime-0.2.22.crate 15029 BLAKE2B 068f4a84388d04d900bc5518a94895985ecba9c618a47b6483cabc31abd267e37ce69d78c51703ec5745307800d96ac801f37ac9959c60283c3c3d6ccd349c0a SHA512 d40d8baeb57ec85bb9ccf76ff0f898915c4e6cf384020121b53f4a2a1ef2840af5b4c9e8e1ff177034273f4f7a6bf81d2dd7a02cf498b61ea31ceaa30b877067
Expand Down
248 changes: 248 additions & 0 deletions sys-apps/eza/eza-0.18.7.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES="
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]+1.7.2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]+1.1.1u
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
"

inherit cargo shell-completion

DESCRIPTION="A modern, maintained replacement for ls"
HOMEPAGE="https://github.com/eza-community/eza"
SRC_URI="https://github.com/eza-community/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 LGPL-3+ MIT Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="+git"

DEPEND="git? ( dev-libs/libgit2:= )"
RDEPEND="${DEPEND}"
BDEPEND=">=virtual/rust-1.70.0"

QA_FLAGS_IGNORED="usr/bin/${PN}"

src_prepare() {
default

# Known failing test, upstream says it could potentially be ignored for know
# bug #914214
# https://github.com/eza-community/eza/issues/393
rm tests/cmd/{icons,basic}_all.toml || die

sed -i -e 's/^strip = true$/strip = false/g' Cargo.toml || die "failed to disable stripping"
}

src_configure() {
local myfeatures=(
$(usev git)
)
export LIBGIT2_SYS_USE_PKG_CONFIG=1
export PKG_CONFIG_ALLOW_CROSS=1
cargo_src_configure --no-default-features
}

src_install() {
cargo_src_install

dobashcomp "completions/bash/${PN}"
dozshcomp "completions/zsh/_${PN}"
dofishcomp "completions/fish/${PN}.fish"

}

pkg_postinst() {
for v in ${REPLACING_VERSIONS}; do
if ver_test "${v}" -lt "0.13.0"; then
elog "Starting with 0.13.0 \$EXA_COLORS using style codes nh and uh"
elog "will need to be updated to use nt and ut"
fi
done
}

0 comments on commit 4600bf9

Please sign in to comment.