app-shells/fish: drop 4.2.1

Signed-off-by: idealseal <realidealseal@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45746
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
idealseal
2026-02-11 07:47:05 +00:00
committed by Sam James
parent d6e91d94d6
commit c2e6fdabe7
2 changed files with 0 additions and 112 deletions
-2
View File
@@ -1,9 +1,7 @@
DIST fish-4.2.1.tar.xz 3012808 BLAKE2B 37f6552d8c5874c841976f5a8f7c2751590913831595bfc651e409a29da60a0aca905dd69e72359d2ceebb53d554a9a5f92d073e478470844f8920a31f110f01 SHA512 7273e43f714ae4919b555feb644183d0019ce5343ffc75a65914da7aeed7d8c3e4b96c0890cdde7a50d3f47a8070e02e3203acdfd29cc003702a2896c1a4c78e
DIST fish-4.3.0.tar.xz 2533776 BLAKE2B cfd8cbbc702e61308c7dab1bad2a69e8fc752bc409e8d365529e7b05309f861998cf4504eea938bc217b592d5e0ed453732606de2ee513671a779a6eeb2ff52a SHA512 ffe931663debc6b344fb764682ec9ce1b1f89a56ebf12c5bf298bb113787844635bcaf8c0c52d372ef220435b7ac0b3fc214c1031b942aded7572c6e8d022c85
DIST fish-4.3.2.tar.xz 2535720 BLAKE2B 770650e353b1f6a38bbaa7f6df1e24cf4d625e8c15fb8549810949349fd4964dd86621606297cdbd89c010d9b2d3e90045aca5c639701171bb82c1697d5a6f55 SHA512 a50c09996af84544a089673746d5d2848d70765a3cbd2896be24ab9b4efb28ec1c990c715d1dc5f20b0a0a550e243e17931aee930d2fcce19dc9e7a12e0f02b3
DIST fish-4.3.3.tar.xz 2545388 BLAKE2B 8d8ae67c4f97ef41d94ebcd728f9882e682eece6d21461eef48e71b293ce22226fd6d2909d7e4aea4fb168b2fbb8c4b66660a30b09a18e8844711003f1d22d78 SHA512 ab20c5d6c052319a1bb6ae5d0af0e4a4563528348ea61728ee812f31ded7f379e1df3687be47ee71af0b79ab46a3febe7f09f8a5312c9a06cb03269447513e8b
DIST fish-4.4.0.tar.xz 2570412 BLAKE2B 93b74dc8c17c8d1d437b2a170715e7963d29a78781520fbb7181bfbfc158c1c1f1a245f15621cb326d4f81dc097084cd54bb14c890fee7b7ab9022a5a41f98d1 SHA512 7d5f3f43e1478ffbf46119ad535b9ece57450751aea059ce520828733733ecc8dbe6b9581703bc3150b015eb2e3b910e28284bb8b25ee05fcad24e477fd99a93
DIST fish-shell-4.2.1-crates.tar.xz 6407044 BLAKE2B aa88ef25cb25ab5b3fd8a5b9faa4e9e91572fe8dfcb1bbb749404bd0cbdaaf36caab1b27e3d874e788b980bd213fc56bf8b4916f82d9a239aa1c9ec7c68985a9 SHA512 affe98ddba9a582f23289149464d50897d54bd1efe931b67721f05ade34f35e69bb31f00dcedd1dc025d04025135e17cee185dbad0f028ace140cfe8dacb4a81
DIST fish-shell-4.3.0-crates.tar.xz 6667516 BLAKE2B 8e44e0b0510a3ea4493c9a6d628fa54d24eefb1e834c96d35fed34e262f4b09e78228d7269cd77587700b1c323407b345f258c49227154082224bd3287e6c09a SHA512 69bb4afe8ca6034339d5f18773b5de25415d785b44a158b5587a0f71a27774741243c4d497d75ce92e9f8a3c9bdef6ed1b5df5f01d7aed752b0a5bcd7097daf8
DIST fish-shell-4.3.2-crates.tar.xz 6667516 BLAKE2B 8e44e0b0510a3ea4493c9a6d628fa54d24eefb1e834c96d35fed34e262f4b09e78228d7269cd77587700b1c323407b345f258c49227154082224bd3287e6c09a SHA512 69bb4afe8ca6034339d5f18773b5de25415d785b44a158b5587a0f71a27774741243c4d497d75ce92e9f8a3c9bdef6ed1b5df5f01d7aed752b0a5bcd7097daf8
DIST fish-shell-4.3.3-crates.tar.xz 6696892 BLAKE2B 98f6aac950b09ad069b74534b066ff0c31e6bbc1af34012833c5b5bf2e2aabbcbef3fa183afa7a569d23dbd21df5e4d028d8c98d548ad9a71686ba77ca597e0b SHA512 9545ce539d38d47adf848aa153e1dfbe16008743a552b3bf08cbda924fe65907142dbba71508e302d9e5ac5dcf6e87a015da175d95afdcac19fb1fc9ecbff4ad
-110
View File
@@ -1,110 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES=""
RUST_MIN_VER="1.85.0"
declare -A GIT_CRATES=(
[pcre2-sys]='https://github.com/fish-shell/rust-pcre2;85b7afba1a9d9bd445779800e5bcafeb732e4421;rust-pcre2-%commit%/pcre2-sys'
[pcre2]='https://github.com/fish-shell/rust-pcre2;85b7afba1a9d9bd445779800e5bcafeb732e4421;rust-pcre2-%commit%'
)
inherit cargo cmake readme.gentoo-r1 xdg
DESCRIPTION="Friendly Interactive SHell"
HOMEPAGE="https://fishshell.com/"
MY_PV="${PV/_beta/b}"
MY_P="${PN}-${MY_PV}"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fish-shell/fish-shell.git"
else
SRC_URI="
https://github.com/fish-shell/fish-shell/releases/download/${MY_PV}/${MY_P}.tar.xz
https://github.com/gentoo-crate-dist/fish-shell/releases/download/${MY_PV}/fish-shell-${MY_PV}-crates.tar.xz
${CARGO_CRATE_URIS}
"
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~x64-macos"
fi
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2 BSD BSD-2 CC0-1.0 GPL-2+ ISC LGPL-2+ MIT PSF-2 ZLIB"
# Dependent crate licenses
LICENSE+=" Apache-2.0 MIT MPL-2.0 Unicode-3.0 WTFPL-2 ZLIB"
SLOT="0"
IUSE="+doc nls test"
RESTRICT="!test? ( test )"
BDEPEND="nls? ( sys-devel/gettext )"
# Release tarballs contain prebuilt documentation.
[[ ${PV} == 9999 ]] && BDEPEND+=" doc? ( dev-python/sphinx )"
PATCHES=(
"${FILESDIR}/${PN}-4.2.0-use-cargo-eclass-for-build.patch"
)
QA_FLAGS_IGNORED="usr/bin/.*"
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
-DINSTALL_DOCS="$(usex doc)"
-DWITH_GETTEXT="$(usex nls 1 0)"
)
cargo_src_configure --no-default-features \
--bin fish \
--bin fish_indent \
--bin fish_key_reader
cmake_src_configure
}
src_compile() {
local -x PREFIX="${EPREFIX}/usr"
local -x DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
# Bug: https://bugs.gentoo.org/950699
local -x SYSCONFDIR="${EPREFIX}/etc"
# Release tarballs contain prebuilt documentation.
local -x FISH_BUILD_DOCS
if [[ ${PV} == 9999 ]]; then
FISH_BUILD_DOCS="$(usex doc 1 0)"
else
FISH_BUILD_DOCS=0
fi
cargo_src_compile
}
src_test() {
local -x CARGO_TERM_COLOR=always
local -x TEST_VERBOSE=1
# cargo_env cmake_src_compile fish_run_tests
cargo_env cmake_src_test fish_run_tests
}
src_install() {
cmake_src_install
keepdir /usr/share/fish/vendor_{completions,conf,functions}.d
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
xdg_pkg_postinst
}