public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/eza/
Date: Tue,  3 Oct 2023 23:38:28 +0000 (UTC)	[thread overview]
Message-ID: <1696375422.d83f277ed60f5b40f23c78e100439c4b47247d19.sam@gentoo> (raw)

commit:     d83f277ed60f5b40f23c78e100439c4b47247d19
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Tue Oct  3 02:01:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  3 23:23:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83f277e

sys-apps/eza: add 0.14.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33163
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/eza/Manifest          |   3 +
 sys-apps/eza/eza-0.14.0.ebuild | 246 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 249 insertions(+)

diff --git a/sys-apps/eza/Manifest b/sys-apps/eza/Manifest
index 3b8208c9b041..000f0610097d 100644
--- a/sys-apps/eza/Manifest
+++ b/sys-apps/eza/Manifest
@@ -46,11 +46,13 @@ DIST eza-0.11.1.tar.gz 1221586 BLAKE2B e642be77d3402e4b42235cf13767fcef7279bc232
 DIST eza-0.12.0.tar.gz 1200971 BLAKE2B ab284c0758515e738fc102ceacd238ef7315627a6c9cb6a712b9ff107ebba7e282768a5ccfd73061aee54838dba194d89ba5b35850f1de78bd3f6aaab65efdb1 SHA512 5ff36af746f3051740ab96cd41fdf51a73a0e9e42f3874b52a684001c529db0bf97514de60bb5742e34984b5ca888a092465c375d4382ca1a84426f17d91fee5
 DIST eza-0.13.0.tar.gz 1207456 BLAKE2B bd7ff811ca7734d29ff5611c8e029bd90cb1a8992c58e31934ecca061bfa56e2743e260081d46359d46b20defbcf3f0b9ace26462def6428a41871185997cba9 SHA512 25b6df46f2c3349bd6459a23cf7bc63a78ee1505018428edc5b86a590fa7599a6f8678f9d931cb5bda737c65018bff3ddd5fe698bcac3fe8d6cba62823ca688b
 DIST eza-0.13.1.tar.gz 1210338 BLAKE2B 5ae9b8274f3f22d72e6480db71b6817ead49bd2c181729f2e3c511f806de498179c4f0ce6eaa2bf023993fa51ea7fbdd82557d5501e4fe1789bd2844f5067dea SHA512 ef2119ad66302f5961a437a28b10de6cc4f105629c78d7cefbf745dd8576d79d3862db400fffe8a89aab67d7bf4f40d7e2ec836dd8ab4bb823e253ed66e98ff0
+DIST eza-0.14.0.tar.gz 1214132 BLAKE2B 89c0cc5055aab6730a66606b9a9ae040ea7d1f1fbcd278c4a2277738ca9a406fbeae33686d32d8f51382684f1fc57c465af61a06773490bb75b3e4f41a1a866c SHA512 7d7d0fa6b1e936bbafcad7bc537c678d30a40f586d8518966bf210985e585986f7a811b279c28e6df1e500653ffbeb05299f6b33366fad84e6545bcf656845d0
 DIST fastrand-2.0.0.crate 14402 BLAKE2B 8bf830151ec616dbc25f216265722e39f8a2cd9ae036b0904b73775a30497368aaf9bb7f49890c330024c3d9b8084749c91f601b60b53bc8cef2da8b0aa71322 SHA512 9449dd52e4b722d5747f68f127843c0d1a402765c2b6186b9526f8ae23293cb1f6b50adcbf18a8ea768292642184cb0eb42b1801d20f6815397903f9977f3cbc
 DIST filetime-0.2.22.crate 15029 BLAKE2B 068f4a84388d04d900bc5518a94895985ecba9c618a47b6483cabc31abd267e37ce69d78c51703ec5745307800d96ac801f37ac9959c60283c3c3d6ccd349c0a SHA512 d40d8baeb57ec85bb9ccf76ff0f898915c4e6cf384020121b53f4a2a1ef2840af5b4c9e8e1ff177034273f4f7a6bf81d2dd7a02cf498b61ea31ceaa30b877067
 DIST form_urlencoded-1.0.1.crate 8773 BLAKE2B e2d2224dbd85d053343aea29ef1bd540fb8be12fd600289e9c048e3b74bfb009d0770f8296556309ef756086f22feec4713dfed1006e1101075c8897be5471cc SHA512 3ab371c223561a27ffbd35cf648ef4a9145d47bba9d71900a7c54cfc2f089175e9361f6352331a9a7fa018923b15e7a3553c8f9ff9fae80e1626e641a5faff68
 DIST gethostname-0.4.3.crate 9336 BLAKE2B 12be5fdca0b6e3788cf3d67a4a80f283d240611b4fd37b6d1c37eb2503e4a7025b17bbb70adf421ac840d8f952434bdedf4691f31362780a267e21e8c4d3a006 SHA512 8c5dc404132f2ecf9bf82d8b89cbd698b4cb6d43141c47a60b95401da2e8c314347ab0a0ad5fba50cf98f01a621faa68293cb78f48977d3ddfe6e6f21926abf7
 DIST git2-0.18.0.crate 210978 BLAKE2B 41fba81bab32d0b31c93f1b579eae61cdb57b7900b8d8b3dd39a601f3ec72820d2106162e89c3e5300442ac450dedf556b2b53c17610dc899ab920cc43c6077d SHA512 de8179c0cb27abb6e870efa27a562728926ae862820a1b71e5c47d2c69e6dc75caf25c0706564a8a5d47c47a2ba0ae7a164d68e88c16260214cad6c672505c70
+DIST git2-0.18.1.crate 211466 BLAKE2B ce5a8175f734bcc2504015271768ff4bda7bd18f615e5ff2618d06f758f041827aa9e58afb8149cc290619cf4e0fbccca460e4d38bf6f3cbf08193a2548c16cc SHA512 3fb535e820365ac5aecc5a1cd3af869ea952ed6741a7890b095ac6f4509fdee7389949da45e4f66188b5e261fb4c47d49ffc1043b4b2b39020ea21e22bc69fa7
 DIST glob-0.3.1.crate 18880 BLAKE2B dc89b3a664e810264dd7a01ad892e865ce35b504bfe5dba12d7ea8084da7de84feaa94c2208f1a1eefed90297e552636ad61ccebf6fc8cb4d01f27d605ad0a09 SHA512 29368160138bcb7ea5660f9f30c5711cfca8bc8ba836bbade3fbe8c424e7b4118daf27cffa677962e37e36f025fd2bb5a9c2aea865b0ff155cace455dfbb658b
 DIST half-1.8.2.crate 41874 BLAKE2B c3c5c01771f05b7af652abb8e5490dde7afd04de130537e67845fe7ed58904e7ad66c7286a4e7deca3641876a6d12c5b6e95883fee2809c8e685d2f79cf96610 SHA512 5eb128e41b8b7f9769a669834b2f8380b115395bf2a2a181732bf6c71234d978dbc4c527fddadaa7bd7fae9add77958b27616bfa1767fd123d3cfb887663292e
 DIST hashbrown-0.14.0.crate 116103 BLAKE2B 24bab03e8a8cb7623b92282c83bf8acaf0752c696ee1c010249e3ebb3646e7549d8d6d798b02c9d5b621afbebba7320f8a859d9a1af1523dbd46377b857dbb5f SHA512 f0fbdf81517f59a0b67f792a4097f1131d346b2b4cbda93590749cef7f9f1c9029e0e182f58c23b74d3028f7502c30b9593c1eb4da37f95388d74b14582b8959
@@ -148,6 +150,7 @@ DIST unicode-bidi-0.3.5.crate 33423 BLAKE2B 26434df7646ca6fc3b655ac2482c2be70700
 DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df
 DIST unicode-normalization-0.1.17.crate 100345 BLAKE2B 2579748ab87f6d74ab8e845d88c1990e4ef32e46e38f9a1841e3381d257d973f2f8a9da359c8e3f11790a888acf81f548ed3b749a67bb3e95acf3b744dd063f3 SHA512 727b4844a4eb103375dff7d88d620e1fb581cbdf2523f07a5c1673ff333d772d48ffae7658bfe4816a5bb42de5f68a96e15be9341c540a0f746c2990eeccb3d6
 DIST unicode-width-0.1.10.crate 18968 BLAKE2B 6174e307fd3ee290d0a5d1d31233baaa5315cdb73f19b8580718e9f9eb04cfd3aeaeb474af1e50c4b9fecc6fc777937dedc527c9dc9ed14ccf42af099e591f31 SHA512 9836a8d489d18ea1ecfe1957ed6d5da7dce825e138cd1848aef093fa8d2eb83fcf01eabb1a2446df4f5ede4e67316e9e81b5d58b59d4e8c5d67870e8fa5dca3b
+DIST unicode-width-0.1.11.crate 19187 BLAKE2B 6baf7f3b32eb838925e591792abfe11968206d177facefb89ef51daf44c18f3fef1e41c19a47b88b81be50667af626af2024ccc540b240fb6e1d83fdea57076f SHA512 ee06f4144525424327a17578642565f396802f0eea539b3bebc8d9627376a8bc6c5376d83a6ee577068e99fe75815bd765e6d49fb9ab9b253d00594bb15a5ffe
 DIST url-2.2.1.crate 65434 BLAKE2B e9180c56afaf9dd781812b3650b28cee14a2330629e708bb8a67144f6c12e3781d07fae68166990bebaae60190a1a88dfa1d087d4982ed04d8cdfa59ae4a0d7e SHA512 f2065e68dd917cc174c222a44127ac10a59d25a87ccce6b88ac1e1e775856fd7d5931d728296db355117f94e71e12404fdd68a283545b543a2e00a659a6997ed
 DIST urlencoding-2.1.3.crate 6538 BLAKE2B 65777b0990aa6b3d27a47f36114da8622026ac8946b5ffb6e04172b666ec7244a55c250a7fb626472bb2b636eb32ee945599cee5ce7351c3cef2322366db15ff SHA512 035848d9243ed6a4528377b56edd7f8bcb5f824381b420dc8f5c4bfc3f1246655c54eaa7de0e4aaa7138e0b08fd796b9ace140ab919aed2d94f6952b577386ac
 DIST utf8parse-0.2.1.crate 13435 BLAKE2B a1c111d7ffc60690f2aaa86f034c66ba1abe4e126f1774a4377d41eba3269369862f57515af387ea785d69a8adf46338b5e53761b5ee6f4f4380473f4d9cab0a SHA512 51fba8f1e7eb74b7020fd831e30a67fc8353ac2ee07335c8c3374a5570ac8117f165f6905d4b7f0360095b7b5ed3e739001d02a8cc3c89195baf2cd679136050

diff --git a/sys-apps/eza/eza-0.14.0.ebuild b/sys-apps/eza/eza-0.14.0.ebuild
new file mode 100644
index 000000000000..e3a0279f4940
--- /dev/null
+++ b/sys-apps/eza/eza-0.14.0.ebuild
@@ -0,0 +1,246 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+	aho-corasick@1.0.5
+	android-tzdata@0.1.1
+	android_system_properties@0.1.5
+	anes@0.1.6
+	ansiterm@0.12.2
+	anstream@0.5.0
+	anstyle-parse@0.2.1
+	anstyle-query@1.0.0
+	anstyle-wincon@2.1.0
+	anstyle@1.0.3
+	autocfg@1.1.0
+	bitflags@1.3.2
+	bitflags@2.4.0
+	bumpalo@3.13.0
+	byteorder@1.4.3
+	cast@0.3.0
+	cc@1.0.79
+	cfg-if@1.0.0
+	chrono@0.4.31
+	ciborium-io@0.2.1
+	ciborium-ll@0.2.1
+	ciborium@0.2.1
+	clap@4.4.3
+	clap_builder@4.4.2
+	clap_lex@0.5.1
+	colorchoice@1.0.0
+	content_inspector@0.2.4
+	core-foundation-sys@0.8.4
+	criterion-plot@0.5.0
+	criterion@0.5.1
+	crossbeam-channel@0.5.8
+	crossbeam-deque@0.8.3
+	crossbeam-epoch@0.9.15
+	crossbeam-utils@0.8.16
+	datetime@0.5.2
+	dunce@1.0.4
+	either@1.9.0
+	equivalent@1.0.1
+	errno-dragonfly@0.1.2
+	errno@0.3.3
+	fastrand@2.0.0
+	filetime@0.2.22
+	form_urlencoded@1.0.1
+	git2@0.18.1
+	glob@0.3.1
+	half@1.8.2
+	hashbrown@0.14.0
+	hermit-abi@0.3.2
+	humantime-serde@1.1.1
+	humantime@2.1.0
+	iana-time-zone-haiku@0.1.2
+	iana-time-zone@0.1.57
+	idna@0.2.3
+	indexmap@2.0.0
+	is-terminal@0.4.9
+	itertools@0.10.5
+	itoa@1.0.9
+	jobserver@0.1.22
+	js-sys@0.3.64
+	lazy_static@1.4.0
+	libc@0.2.148
+	libgit2-sys@0.16.1+1.7.1
+	libz-sys@1.1.2
+	linux-raw-sys@0.4.7
+	locale@0.2.2
+	log@0.4.20
+	matches@0.1.8
+	memchr@2.6.3
+	memoffset@0.9.0
+	natord@1.0.9
+	normalize-line-endings@0.3.0
+	num-traits@0.2.14
+	num_cpus@1.16.0
+	number_prefix@0.4.0
+	once_cell@1.18.0
+	oorandom@11.1.3
+	openssl-src@111.26.0+1.1.1u
+	openssl-sys@0.9.61
+	os_pipe@1.1.4
+	partition-identity@0.3.0
+	percent-encoding@2.3.0
+	phf@0.11.2
+	phf_generator@0.11.2
+	phf_macros@0.11.2
+	phf_shared@0.11.2
+	pkg-config@0.3.19
+	plotters-backend@0.3.5
+	plotters-svg@0.3.5
+	plotters@0.3.5
+	proc-macro2@1.0.66
+	proc-mounts@0.3.0
+	quote@1.0.33
+	rand@0.8.5
+	rand_core@0.6.4
+	rayon-core@1.11.0
+	rayon@1.7.0
+	redox_syscall@0.1.57
+	redox_syscall@0.3.5
+	regex-automata@0.3.8
+	regex-syntax@0.7.5
+	regex@1.9.5
+	rustix@0.38.13
+	ryu@1.0.15
+	same-file@1.0.6
+	scoped_threadpool@0.1.9
+	scopeguard@1.2.0
+	serde@1.0.188
+	serde_derive@1.0.188
+	serde_json@1.0.107
+	serde_spanned@0.6.3
+	shlex@1.2.0
+	similar@2.2.1
+	siphasher@0.3.11
+	snapbox-macros@0.3.5
+	snapbox@0.4.12
+	syn@2.0.29
+	tempfile@3.8.0
+	term_grid@0.1.7
+	terminal_size@0.3.0
+	thiserror-impl@1.0.48
+	thiserror@1.0.48
+	timeago@0.4.2
+	tinytemplate@1.2.1
+	tinyvec@1.2.0
+	tinyvec_macros@0.1.0
+	toml_datetime@0.6.3
+	toml_edit@0.19.15
+	trycmd@0.14.17
+	unicode-bidi@0.3.5
+	unicode-ident@1.0.11
+	unicode-normalization@0.1.17
+	unicode-width@0.1.11
+	url@2.2.1
+	utf8parse@0.2.1
+	uzers@0.11.3
+	vcpkg@0.2.12
+	wait-timeout@0.2.0
+	walkdir@2.4.0
+	wasm-bindgen-backend@0.2.87
+	wasm-bindgen-macro-support@0.2.87
+	wasm-bindgen-macro@0.2.87
+	wasm-bindgen-shared@0.2.87
+	wasm-bindgen@0.2.87
+	web-sys@0.3.64
+	winapi-i686-pc-windows-gnu@0.4.0
+	winapi-util@0.1.5
+	winapi-x86_64-pc-windows-gnu@0.4.0
+	winapi@0.3.9
+	windows-sys@0.48.0
+	windows-targets@0.48.5
+	windows@0.48.0
+	windows_aarch64_gnullvm@0.48.5
+	windows_aarch64_msvc@0.48.5
+	windows_i686_gnu@0.48.5
+	windows_i686_msvc@0.48.5
+	windows_x86_64_gnu@0.48.5
+	windows_x86_64_gnullvm@0.48.5
+	windows_x86_64_msvc@0.48.5
+	winnow@0.5.15
+	zoneinfo_compiled@0.5.1
+"
+
+inherit shell-completion cargo
+
+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 MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+git man"
+
+DEPEND="git? ( dev-libs/libgit2:= )"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	>=virtual/rust-1.70.0
+	man? ( virtual/pandoc )
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_prepare() {
+	default
+	if use man; then
+		mkdir -p contrib/man || die "failed to create man directory"
+		pandoc --standalone -f markdown -t man man/eza.1.md \
+			-o contrib/man/eza.1 || die "failed to create man page"
+		pandoc --standalone -f markdown -t man man/eza_colors.5.md \
+			-o contrib/man/eza_colors.5 || die "failed to create colors man page"
+		pandoc --standalone -f markdown -t man man/eza_colors-explanation.5.md \
+			-o contrib/man/eza_colors-explanation.5 || die "failed to create colors-explanation man page"
+	fi
+
+	# "source" files only, but cargo.eclass will attempt to install them.
+	rm -r man || die "failed to remove man directory from source"
+
+	# 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
+	rm tests/cmd/only_dir_{,recursive_}unix.toml || die
+	rm tests/cmd/recursive_unix.toml || die
+	rm tests/cmd/only_file_unix.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"
+
+	if use man; then
+		doman contrib/man/*
+	fi
+}
+
+pkg_postinst() {
+	if [[ -n ${REPLACING_VERSIONS} ]] \
+			&& [[ $(ver_cut 2 ${REPLACING_VERSIONS}) -lt 13 ]]; 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
+}


             reply	other threads:[~2023-10-03 23:38 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-03 23:38 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-10 15:33 [gentoo-commits] repo/gentoo:master commit in: sys-apps/eza/ Joonas Niilola
2024-12-10 15:33 Joonas Niilola
2024-12-10 15:33 Joonas Niilola
2024-11-10  6:50 Yixun Lan
2024-09-27 19:48 Yixun Lan
2024-09-27 19:48 Yixun Lan
2024-09-09 11:51 Yixun Lan
2024-08-21  7:51 Joonas Niilola
2024-08-21  7:51 Joonas Niilola
2024-07-07  2:05 Sam James
2024-07-07  2:05 Sam James
2024-07-04  3:22 Sam James
2024-07-04  1:18 Sam James
2024-06-06  6:47 Sam James
2024-06-06  6:17 Joonas Niilola
2024-06-05 20:10 Arthur Zamarin
2024-04-30  6:42 Sam James
2024-03-21  7:24 Ionen Wolkens
2024-03-11 10:50 Petr Vaněk
2024-03-09 11:03 Jakov Smolić
2024-03-09  6:47 Joonas Niilola
2024-03-08 23:58 Sam James
2024-03-04  6:00 Sam James
2024-03-02 10:06 Arthur Zamarin
2024-01-28 17:34 Matt Turner
2024-01-21  4:02 Sam James
2024-01-16  8:39 Florian Schmaus
2024-01-16  8:39 Florian Schmaus
2024-01-16  8:39 Florian Schmaus
2024-01-13 13:09 Florian Schmaus
2023-12-17  6:20 Arthur Zamarin
2023-12-08  6:46 Joonas Niilola
2023-12-08  6:46 Joonas Niilola
2023-11-30  2:08 Sam James
2023-11-13  6:44 Sam James
2023-10-27  7:11 Florian Schmaus
2023-10-25 16:57 Jakov Smolić
2023-10-20  9:14 Florian Schmaus
2023-10-12 18:03 Florian Schmaus
2023-10-12 18:03 Florian Schmaus
2023-10-12 18:03 Florian Schmaus
2023-10-12  5:54 WANG Xuerui
2023-10-09 10:54 Florian Schmaus
2023-10-09 10:54 Florian Schmaus
2023-09-28  5:22 Joonas Niilola
2023-09-27  2:55 Sam James
2023-09-27  2:55 Sam James
2023-09-23  9:50 Sam James
2023-09-15  6:15 Sam James
2023-09-13  2:15 Sam James
2023-09-11 19:57 Florian Schmaus
2023-09-11 11:41 Arthur Zamarin
2023-09-11  0:39 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1696375422.d83f277ed60f5b40f23c78e100439c4b47247d19.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox