diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-11 01:41:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-11 01:41:34 -0500 |
| commit | fc39c62a8944e95c0ecccfc9781763822b23e66c (patch) | |
| tree | 11feafa0dbddccf6fcd9dabb290b0ce5faafec36 /app-shells | |
| parent | 98068fb4a1502cade02134b1834439134ca4eed1 (diff) | |
| download | baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.tar.gz baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.tar.xz baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.zip | |
Adding metadata
Diffstat (limited to 'app-shells')
| -rw-r--r-- | app-shells/dash/dash-0.5.13.5.ebuild | 2 | ||||
| -rw-r--r-- | app-shells/fish/Manifest | 2 | ||||
| -rw-r--r-- | app-shells/fish/fish-4.9.2.ebuild | 150 |
3 files changed, 153 insertions, 1 deletions
diff --git a/app-shells/dash/dash-0.5.13.5.ebuild b/app-shells/dash/dash-0.5.13.5.ebuild index 5b4ce4aff4e3..8a6bea13ec86 100644 --- a/app-shells/dash/dash-0.5.13.5.ebuild +++ b/app-shells/dash/dash-0.5.13.5.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]] ; then inherit autotools git-r3 else SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" fi LICENSE="BSD" diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest index 33cd699c35ea..7c0aaee5a8b9 100644 --- a/app-shells/fish/Manifest +++ b/app-shells/fish/Manifest @@ -2,10 +2,12 @@ DIST fish-4.5.0.tar.xz 2567056 BLAKE2B 1ac4bb151d8513e7f772e4be239d7c634ae5e0027 DIST fish-4.6.0.tar.xz 2596788 BLAKE2B 01981f100b28443556b2de6ea68f644d445cc22f66871cd5a9b74c007bfc7873e51fd386b1f5459a6c795d4e9bf68979a13064d2b89308cb4181293c67ff6e1b SHA512 2acc6453f102b570f0f2765739a020f63051b7ee2a7f49d086459287c9e5a8658294b0081904b4897315195c6510a7e53794da9937f6f64aa53c65eb448d68b5 DIST fish-4.7.1.tar.xz 2608824 BLAKE2B 663deb434a1c2f1c2eba956ab92d6e993baad8e0763e296165af0845956f3d6356eb9453435544d08615756b6e0286f9fd9c33a43665b8f1005e2f129eae9678 SHA512 b873c8a33385caebed9aa1b03cc2b0ddede959a28ca8909aaad8765863861476b0fc0b9144653ce0a1e271548cccedbc0da2e56c48ad52284486dfa15b2050bf DIST fish-4.8.1.tar.xz 2619540 BLAKE2B 8a29603a1f14b7ad31465220659cbc6b6b0c061ebb62a159100ab1bfe26838ac7c79bc6a74794e1084bcbc1470c31d66b747e02e8f0cead1b9625f4858c987e3 SHA512 4890fa37245a8d28666c77a51f724d9e7fb50a2bcd72ea66679b598682e01ead661f073cc5298792167f09e3aebdf39a7f7eb712536d2c34d3bef7a62ee7e30b +DIST fish-4.9.2.tar.xz 2628824 BLAKE2B 667b2e721e6688d67582e2b1ca00530b00d61ded4406925f713cef50ca2fa90c3215c6cfc4a92da8cd5a9d9ead24f86a597638807d258637d967fe72cf622a49 SHA512 d94b5c85df67b3fbb406ec37f7dbd20b1d739d4c9c59adde74ca576965625c4d304920a3b9c7ec71d3459267da0625a39f5180b74f33fe2f686e15e0c3c2d269 DIST fish-shell-4.5.0-crates.tar.xz 6870016 BLAKE2B 9d2d3f7840f4abb80e632cb565ec00c5af0829cec19eb5ac54b9e988e71f9bb8a17f644a69d6e78a61760dd9e5e880b2b0388c701e57bf99bbdd75a988a440c9 SHA512 7710995bc6e872fce68b0a813bd743f4d208343e7a30430492684e2ae775d6541940742523defacae6fd56d70e831ae482d22e82ee879fd02e91e0936566ae58 DIST fish-shell-4.6.0-crates.tar.xz 6863628 BLAKE2B 670aab10a1e0fa3ec8f7d3bc56319a5dbcf4cc7c57861546e17f246e77131dd249bcf32f2b08fb4a510b4235a3e766cbe494119d079deb72ccfa55a901501987 SHA512 2dd2b4421ef126e355cc6df6c46bd059bee69fe22524afd84a5a0f2347bcc4d56abb8c04e0c7cb58ee782ef30000038588807922245ffc497d7a822448d4f49c DIST fish-shell-4.7.1-crates.tar.xz 7034252 BLAKE2B 1653cc3d16859fcaba3bd70f92eeda5c2866542abca57ba7469f4e41545d677229ac6811729b217546e05177459f09833b10317b19365669b3568033ad7aba55 SHA512 2595ad5393d3872c8d4cae0679adb3d4ee80469f3a175e295e91c0b30f73231045192e9367a3df51c16965849f09e5b61211c9dbfeae2dad397ff7833655086d DIST fish-shell-4.8.1-crates.tar.xz 10378464 BLAKE2B fd50338e95eaa86343bb571223d39c0d4402b5b38d36ac269cd9da1df5b03189bb625aa57b21d6f802e6821d401e41c37e3d17852016102514fc9ef4a96769ce SHA512 92ec4b74d919fcd2f552155456ccf94321e5d5436eb9357c5d2e2f1fe7d9692b4027497c2e13fbedcbef25ab0ab2faa127b7ea7a5fed50aca1041b5e01ba2151 +DIST fish-shell-4.9.2-crates.tar.xz 10401284 BLAKE2B 64ebb31e989ea411c51c1ac3083ca8b097aeafd0c253724562d035036faaf11d7d2fa6cf4ef5ca23733055463c64b57a82c99084775ad9a06a07b768bdb99304 SHA512 9a2e8d11cac02b60c7c24aaa65199acc47c61ac6e8deb478a692aed791819082c9449424e6da34bfcd246e59bb6568230f9b69be8b0530c71487c09b68528268 DIST fluent-ftl-tools-5917664c8f2e4928ef1e480ff5c13bbe1e226066.gt.tar.gz 22139 BLAKE2B 823992222ccfd4a1c16526c49a354178690e6423f74ef9bc921e92cb61e49d820b725d8411c9af57a01680ab28b3745d15932e82142674bd55d949543f16e166 SHA512 bedd2765d84d9333a0533de2c439c20423366e10f1ab5e9e000835c037fbcd5785ea9bf9bcd4f7eede8bc49cba97b803474b4d1dedeae3139e46529600d2a290 DIST fluent-rs-cf712bced280b217b6307edabc2089b3e57204ab.gh.tar.gz 367920 BLAKE2B 6b202bca3b7254e9a6e2c3f4fad2422539ced54dfc6b71889116972b864d9e0909511d89deaa50c977e1386f4c1417c4dc3c93d209f4948cd6d0148eb4f92226 SHA512 a3e14bb0814f394a6399a3a931a1d5790c1986a99fb39bd6079155da83791656dda51062a86d70233c81a5373b5b8b00f2e35452a4e1ff57706740226226c213 DIST rust-pcre2-85b7afba1a9d9bd445779800e5bcafeb732e4421.gh.tar.gz 743187 BLAKE2B 533671ee8e97e65b93aa9103135848e8a85d79a2f525100aa0120500def9479675f6140878fa7b9bb248e51175ceac7c5710ce247af6e10385a00b23c8986b68 SHA512 9323e4d11708d8dc0e7ed607e97b8d4fac6f4a0b955e5e07b76da8152178888bc0ae2d2c109dd58b97d5faa037216e88365fcacb606f23f912d2edb82ede23ad diff --git a/app-shells/fish/fish-4.9.2.ebuild b/app-shells/fish/fish-4.9.2.ebuild new file mode 100644 index 000000000000..20bace0413b6 --- /dev/null +++ b/app-shells/fish/fish-4.9.2.ebuild @@ -0,0 +1,150 @@ +# 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=( + [fluent-bundle]='https://github.com/danielrainer/fluent-rs;cf712bced280b217b6307edabc2089b3e57204ab;fluent-rs-%commit%/fluent-bundle' + [fluent-ftl-tools]='https://codeberg.org/danielrainer/fluent-ftl-tools;5917664c8f2e4928ef1e480ff5c13bbe1e226066;fluent-ftl-tools;gitea' + [fluent-syntax]='https://github.com/danielrainer/fluent-rs;cf712bced280b217b6307edabc2089b3e57204ab;fluent-rs-%commit%/fluent-syntax' + [fluent]='https://github.com/danielrainer/fluent-rs;cf712bced280b217b6307edabc2089b3e57204ab;fluent-rs-%commit%/fluent' + [gettext-po-file-parser]='https://codeberg.org/danielrainer/fluent-ftl-tools;5917664c8f2e4928ef1e480ff5c13bbe1e226066;fluent-ftl-tools/crates/gettext-po-file-parser;gitea' + [intl-memoizer]='https://github.com/danielrainer/fluent-rs;cf712bced280b217b6307edabc2089b3e57204ab;fluent-rs-%commit%/intl-memoizer' + [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" + +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cargo cmake python-any-r1 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 + || ( AGPL-3 GPL-2 ) +" +SLOT="0" +IUSE="+doc nls test" + +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig + ${PYTHON_USEDEP} + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) + nls? ( sys-devel/gettext ) + test? ( + app-misc/tmux + dev-vcs/git + sys-apps/less + $(python_gen_any_dep 'dev-python/pexpect[${PYTHON_USEDEP}]') + ) +" +DEPEND="dev-libs/libpcre2[pcre32]" +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED="usr/bin/.*" + +python_check_deps() { + if use doc; then + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" || return 1 + fi + if use test; then + python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" || return 1 + fi +} + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi + rust_pkg_setup + + export PKG_CONFIG_ALLOW_CROSS=1 +} + +src_prepare() { + # Bug: https://bugs.gentoo.org/952080 + sed -e '/^lto = /d' -i Cargo.toml || die "Failed to remove LTO from cargo package" + + cmake_src_prepare +} + +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" + -DCMAKE_INSTALL_DATADIR="${EPREFIX}/usr/share" + -DWITH_DOCS="$(usex doc ON OFF)" + -DWITH_MESSAGE_LOCALIZATION="$(usex nls ON OFF)" + -DRust_CARGO="${CARGO}" + -DRust_COMPILER="${RUSTC}" + ) + local -x CMAKE_BUILD_TYPE="$(usex debug Debug Release)" + cargo_env cmake_src_configure +} + +src_compile() { + local -x CARGO_TERM_COLOR=always + cargo_env cmake_src_compile +} + +src_test() { + # Very fragile tests, don't seem to work in sandboxed environment. + # No die to allow repeating tests. + rm -v \ + tests/checks/tmux-pager.fish \ + tests/checks/tmux-wrapping.fish \ + tests/checks/tmux-commandline.fish \ + tests/checks/tmux-prompt.fish \ + tests/pexpects/terminal.py \ + || : + + cargo_env cmake_build fish_run_tests +} + +src_install() { + cargo_env 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 +} |
