commit: b03036836c6a8c5c74da29550ed0efe349b2bd41 Author: idealseal <realidealseal <AT> protonmail <DOT> com> AuthorDate: Thu Mar 12 18:33:08 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 14 18:46:30 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0303683
app-shells/fish: drop 4.5.0-r1 I'd rather stabalize the second revision. Signed-off-by: idealseal <realidealseal <AT> protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/307 Merges: https://codeberg.org/gentoo/gentoo/pulls/307 Signed-off-by: Sam James <sam <AT> gentoo.org> app-shells/fish/fish-4.5.0-r1.ebuild | 115 ----------------------------------- 1 file changed, 115 deletions(-) diff --git a/app-shells/fish/fish-4.5.0-r1.ebuild b/app-shells/fish/fish-4.5.0-r1.ebuild deleted file mode 100644 index f28fb1acfa56..000000000000 --- a/app-shells/fish/fish-4.5.0-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES="" - -if [[ ${PV} != 9999 ]]; then - 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%' - ) -fi - -RUST_MIN_VER="1.85.0" - -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 ZLIB" -SLOT="0" -IUSE="+doc nls test" - -RESTRICT="!test? ( test )" - -BDEPEND=" - virtual/pkgconfig - doc? ( dev-python/sphinx ) - nls? ( sys-devel/gettext ) -" -DEPEND="dev-libs/libpcre2[pcre32]" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-4.4.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" - -DWITH_DOCS="$(usex doc)" - -DWITH_MESSAGE_LOCALIZATION="$(usex nls 1 0)" - ) - - cargo_src_configure --no-default-features - cmake_src_configure -} - -src_compile() { - local -x PREFIX="${EPREFIX}/usr" - local -x DATADIR="${EPREFIX}/usr/share" - local -x DOCDIR="${EPREFIX}/usr/share/doc/${PF}" - - # Bug: https://bugs.gentoo.org/950699 - local -x SYSCONFDIR="${EPREFIX}/etc" - - local -x FISH_BUILD_DOCS - FISH_BUILD_DOCS="$(usex doc 1 0)" - - # HACK: Let the rust build script know we are using CMake. - # Bug: https://bugs.gentoo.org/970077 - local -x FISH_CMAKE_BINARY_DIR="${BUILD_DIR}" - - 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 -}
