diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-21 08:09:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-21 08:09:25 +0000 |
commit | 5adb1b3ff590f0911922679849a7fdacc8b4f217 (patch) | |
tree | 8a471fe02dd3498487715d39f928b42017f24c99 /sys-apps/eza | |
parent | afcb9236a72cf602364c28b9bde6648e4a7f1ca5 (diff) |
gentoo auto-resync : 21:01:2024 - 08:09:25
Diffstat (limited to 'sys-apps/eza')
-rw-r--r-- | sys-apps/eza/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/eza/eza-0.17.2.ebuild | 254 |
2 files changed, 257 insertions, 0 deletions
diff --git a/sys-apps/eza/Manifest b/sys-apps/eza/Manifest index 01e711078669..ee45448fde54 100644 --- a/sys-apps/eza/Manifest +++ b/sys-apps/eza/Manifest @@ -53,6 +53,8 @@ DIST eza-0.17.0-manpages.tar.xz 7716 BLAKE2B 94bcb5353da99b8c218f31ab0d6433c534f DIST eza-0.17.0.tar.gz 1523156 BLAKE2B c86c75c12b19e3ddf73143f433123f2198750ac5c92022e46a818ec414bc04e3b98f9b613335f09c364dfc53dccc77f6b23f8d1fa1cb160c51b9f66aae0edde6 SHA512 dda2a3bdc3d8abdd1fca4d8874455844b3cfac94c3188afcfe8e373b8dcbb968b7b81db43cf8fa938b0c18787e2b633acd4fedc26311bb4bab52555b76f49e27 DIST eza-0.17.1-manpages.tar.xz 7656 BLAKE2B 01e9698f1c033ec4773bd6436a598a4ac84898598c9655455b36edcfe9660ff4994b43a39f65107a63dc7a71f8fc49506584a18182849b65daa3571dfd407a6f SHA512 5b97cbedca8dda9af9208919faeda152aa41377a24ce0a6804058fe74c12bbf0fdbd56369e97b35012773d07498022aa048f64cdd66f746801a5140a4aae3848 DIST eza-0.17.1.tar.gz 1524733 BLAKE2B 973ba81af8db663673a0b62d67bec4078886156303ecbd2315a03399c0eee9db79d0e2cf216bc479467e672dbe1bc5559b753b5564967e6b6bfd4e4a689a05d1 SHA512 36694e6fa2a52bf6f4e14513d0fb82fc7a92230ff132d21ed373224cff93b5d6ee4f3f030ae9be210d06e9e1e1ea148b3ee499cf59356ffd5c39d780d7598e04 +DIST eza-0.17.2-manpages.tar.xz 7652 BLAKE2B 910ccd5e0d1e0a3055b6c30dbb06abf9f296e722b691566f7993ab073b3edecc1c7be7df08e17d42c58951235caf00cfb48431023f43ee87313b7da736d1995f SHA512 bbae103f7a66687c89e62dc6407806ab1183e1a0d5e779a33c62b4fb637e4371876bcb9423eafb7ff8238ca0c0c983ffdf11a390a6698632ded4d4e4c70143fb +DIST eza-0.17.2.tar.gz 1524844 BLAKE2B 4468f226acb3493832f65a3dcc7e9abadc6b6c290057c436a9bb7e8903762d286db4f10a2c03c1ce73b50d53e100484532987d0b2d9465dc0acf0892659911cb SHA512 bafc8b26de16de9c0b54320d6454cd1aa7939cb8f2eafdfb9407b79dc07d06398d174378feb447d9fc996cf007bad53988ea06f3b3057c000856c0bec8acabc9 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 @@ -222,4 +224,5 @@ EBUILD eza-0.15.3.ebuild 5059 BLAKE2B f36a54230262d51c93c02e2b7fe3cb4a980aee0929 EBUILD eza-0.16.3.ebuild 5356 BLAKE2B c07ea5ab434d2086b3eae0c0266bb5ee8dbb0d3bd59f0c80bd3e49be14168422784ad590262817065516b44592763271400676c6a8fb188fd444e7a10f021838 SHA512 dca1580b50bcfc84cf05c789d65004885d238cf3425f0fb1eb668cf0ae252db3c102179f703b5a4d9b3e2862a0ba603b6bea72d9a1435d74368a999ebe0742c2 EBUILD eza-0.17.0.ebuild 5356 BLAKE2B 7a9ca41fa012fb303e4fe9ec710a8625890de17f8d2e78e8f1a4a619fbd5419a75955331b17a2df291c0d2861eb74a9e82b779badbe39fa595207554c3b31d18 SHA512 8f4b8f3ab870e0504fef746412cc63f795d5256175e6662f8fc3c17095b884c3ddf8ba1787ed74fa6c6509b1dc3547706ad5e7ae8f9f6ec4ec6fbbd7abbd32b2 EBUILD eza-0.17.1.ebuild 5361 BLAKE2B 92169855f328ad5e2719bbd60bb0c0bd827ff89cc2919402334c53b774ac0356a735373dd2774942809bb6e27bb1636a72b7996d591194d3da66e0f22dfa60d5 SHA512 3cd7305f13fbd5429813e7bb29edfa4a5788b29d1318c4d9782cb3462526bfa955a1a279870d4ec270ded13ffcf6703e59dc2e22699454fdd66fabca11a985d2 +EBUILD eza-0.17.2.ebuild 5361 BLAKE2B 92169855f328ad5e2719bbd60bb0c0bd827ff89cc2919402334c53b774ac0356a735373dd2774942809bb6e27bb1636a72b7996d591194d3da66e0f22dfa60d5 SHA512 3cd7305f13fbd5429813e7bb29edfa4a5788b29d1318c4d9782cb3462526bfa955a1a279870d4ec270ded13ffcf6703e59dc2e22699454fdd66fabca11a985d2 MISC metadata.xml 495 BLAKE2B 306ca308e3132da0688cee3f358d239c0b5ab3014c01d8624344d3a68643741a3d4303c1199454589f7fbc3a22d80fcc8ac66377b02895a39c1b54e078aee787 SHA512 09872a6228f3f3884044a8d08970ca5933a2de28049b900f85a99c749b7710268f7981f7115b796dbff159c471af3a60a4326da4412e660206b9ecbb6d24d11e diff --git a/sys-apps/eza/eza-0.17.2.ebuild b/sys-apps/eza/eza-0.17.2.ebuild new file mode 100644 index 000000000000..f31a0687ecba --- /dev/null +++ b/sys-apps/eza/eza-0.17.2.ebuild @@ -0,0 +1,254 @@ +# Copyright 2023-2024 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 + ansi_colours@1.2.2 + ansiterm@0.12.2 + anstream@0.6.4 + anstyle-parse@0.2.1 + anstyle-query@1.0.0 + anstyle-wincon@3.0.1 + anstyle@1.0.3 + approx@0.5.1 + autocfg@1.1.0 + base64@0.21.5 + 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 + deranged@0.3.9 + dunce@1.0.4 + either@1.9.0 + equivalent@1.0.1 + errno-dragonfly@0.1.2 + errno@0.3.3 + fast-srgb8@1.0.0 + 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.2 + 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.1.0 + is-terminal@0.4.9 + itertools@0.10.5 + itoa@1.0.9 + jobserver@0.1.22 + js-sys@0.3.64 + libc@0.2.151 + libgit2-sys@0.16.1+1.7.1 + libz-sys@1.1.2 + line-wrap@0.1.1 + linux-raw-sys@0.4.11 + 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.19.0 + oorandom@11.1.3 + openssl-src@111.26.0+1.1.1u + openssl-sys@0.9.61 + os_pipe@1.1.4 + palette@0.7.3 + palette_derive@0.7.3 + partition-identity@0.3.0 + percent-encoding@2.3.1 + phf@0.11.2 + phf_generator@0.11.2 + phf_macros@0.11.2 + phf_shared@0.11.2 + pkg-config@0.3.19 + plist@1.6.0 + plotters-backend@0.3.5 + plotters-svg@0.3.5 + plotters@0.3.5 + powerfmt@0.2.0 + proc-macro2@1.0.66 + proc-mounts@0.3.0 + quick-xml@0.31.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.21 + ryu@1.0.15 + safemem@0.3.3 + 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.6 + snapbox@0.4.14 + syn@2.0.29 + tempfile@3.8.0 + terminal_size@0.3.0 + thiserror-impl@1.0.48 + thiserror@1.0.48 + time-core@0.1.2 + time-macros@0.2.15 + time@0.3.30 + 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.20.1 + trycmd@0.14.19 + 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 + uutils_term_grid@0.3.0 + 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-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.0 + windows@0.48.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.0 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.0 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.0 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.0 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.0 + winnow@0.5.15 + zoneinfo_compiled@0.5.1 +" + +inherit cargo shell-completion + +# script to generate the tarball: https://raw.githubusercontent.com/sevz17/eza-manpages/main/generate-eza-manpages +MANPAGES_BASE_URI="https://github.com/sevz17/eza-manpages/releases/download/${PV}" + +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 + ${MANPAGES_BASE_URI}/${P}-manpages.tar.xz + ${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" + + doman "${WORKDIR}"/manpages/* +} + +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 +} |