diff options
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/Manifest.gz | bin | 10633 -> 10643 bytes | |||
-rw-r--r-- | app-shells/bash-completion/Manifest | 3 | ||||
-rw-r--r-- | app-shells/bash-completion/bash-completion-2.14.0.ebuild | 178 | ||||
-rw-r--r-- | app-shells/bash-completion/files/bash-completion-2.14.0-optimize-kernel-modules.patch | 13 | ||||
-rw-r--r-- | app-shells/pwsh/Manifest | 2 | ||||
-rw-r--r-- | app-shells/pwsh/pwsh-7.4.1.ebuild | 32 | ||||
-rw-r--r-- | app-shells/starship/Manifest | 3 | ||||
-rw-r--r-- | app-shells/starship/starship-1.18.2.ebuild | 59 |
8 files changed, 278 insertions, 12 deletions
diff --git a/app-shells/Manifest.gz b/app-shells/Manifest.gz Binary files differindex e641edba99ae..1594a84ccb2f 100644 --- a/app-shells/Manifest.gz +++ b/app-shells/Manifest.gz diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest index 62409847afb2..61de271d0b8b 100644 --- a/app-shells/bash-completion/Manifest +++ b/app-shells/bash-completion/Manifest @@ -1,7 +1,10 @@ +AUX bash-completion-2.14.0-optimize-kernel-modules.patch 493 BLAKE2B cdc4ddab98922d1282380953ee5fb3b8d81415cd6e799e28f24d3298e86ebc3958a4afebf3ae4c603547bb1b0f06baa8d51ecd64dbbcf5f909630ff94b4c50c5 SHA512 a8a95045b1046538f242515d50c5c625b809b69da6e8e600a33e671408f452b42d69d64e7831c29a2f743c88826f51c29054ba9712b7b13cdeb18c960fa0c397 DIST bash-completion-2.11.tar.xz 311004 BLAKE2B 98e3ab6669bd70b49b238a597f1bc1309dc7ddd51c5b17c5e054f9161115d75d26e85d547471bc087e070d10554448b790a6dfb557abc413b70079ecc94acce3 SHA512 41585f730b5114d397831ba36d10d05643c6a6179e746ddc49aa1cbef61ea5525fd2f09b2e474adee14e647f99df8d5983ee48e29a59d8a30e1daf7fb1837e06 DIST bash-completion-2.13.0.tar.xz 424956 BLAKE2B 5055118378f99ea679cc9e6e2c12a2c82b3428bae3f87b2b73df448ce31c68567fc18423332fccd6f3c0c7ceb3ae8d0f0a84eec7ddbd8c2b7868061a03c4a8a5 SHA512 7c65fea599a25c2c9d6ef300a9cc2d5fbabd0bcc9e09fe32bb706d3398936f40501171f03280f042465bc0d9aca4b1b53c2c13a99bbdfb6fe916767a267158af +DIST bash-completion-2.14.0.tar.xz 428980 BLAKE2B c28ec0cd348a3954461f7a865823a358e47c4b479c7812baa6d54aef856c958510967806550e62784955f9daf233a0b01edade19884e534df857472a3196e63e SHA512 2e12d2e57c932b931a6cfe59234f9d33d715538d6ea4eb72ed4ed3d8d2cf2cedaf08fcb6abaf3117e06115d892283e38a07b3abe5c91c026d2c06a0f64e347bd DIST bashcomp-2.0.3.tar.gz 3539 BLAKE2B 75304d144792cc7f6ad5455a05a65c33c646d6f7384d020a06a1fcf012cd51625a3dd0750ad539253453b1eede196c340286a1e81737f0835b5091609ba01295 SHA512 b2bd185ccbd4456939ccc731cc1983fcec2b9564a9920642a753fadd5d897fdb96b925ac1524657629d621d45b37d99076c8ae72511a827e96ff6c388d720008 EBUILD bash-completion-2.11.ebuild 4048 BLAKE2B 177e6746e781a1743b28d4d523c934d6779c2dfab654d2d2ee280bd446004df315a775e8685f17c9db701f97619e4ba789cf2c84c245a05996d7decc90142d4c SHA512 f1a58ee868d4b44a29924650dcaeca20aebd05afce9f80da79bc562770b37a67f3d58c8f6d4488ba37c40e48f127173d7b194f39d33bdf40105f7040297679a8 EBUILD bash-completion-2.13.0-r1.ebuild 4882 BLAKE2B d6ab14e7f431b971d3220a2ff3c1152983df424d0c5a5468f803030b3af2d012dc711c98c863b5c6e58e04a464fbb91fa612890b848b35f8fc6ef5105c1e2cec SHA512 dd62efb394f9958d660a3f8277806c204cab3e762640318128798521a2341735f3dd84942452ed2f561541c5730a80a57464c1d3724da5f34472cfaec1b6f2ea +EBUILD bash-completion-2.14.0.ebuild 4821 BLAKE2B d85ce6d4a1dbf44d8f1b468f7f27047693cb2b2b5a9d8c49e6a8e607606568e44d7daf5c09e58aaf33f24760fd3fcc69809e9bf1b03a04a42cdc02909690b4f4 SHA512 87d1e24e86770570c7e6beecefa996f99848c92cb33bdfaa463714e447f8cacc68d1a3c4f2bf4772f9df9e8d0ebca63046658ea6de28e59fb1a07115bf24f39c EBUILD bash-completion-9999.ebuild 4844 BLAKE2B e5b211118d21a8d706f89ae7ab7f7cfba09978abf17acec6e6f4335f45f6784a9c951ee1506094a70db0f472bfc3190360d5557afbc763d8739fa15a048ef7ef SHA512 5ca599b903108fe07d62f8691501c0ba5fc6b2d38b3e1367e73e95d23c8908a15a37c498d74621ded9a50eccf58f05a2dac8b51b468eeb59d5e78dcf850e58fb MISC metadata.xml 1436 BLAKE2B a01cee2abf1c4bc38ed6fe464f3daf43f8cf441a2a70f74b20bad79e37183a311326a863680d6939f18f8adebb9976861de897df272ab3cc7448cafbcb87f4b3 SHA512 f1b1af3f696ed159b8e1f728b51d651ac66ff849ee3bb37d949bc09e3be47698ea052ed48826edf4341d87835b3b54482153ca4fa3c299a5602eaec5f0cd780b diff --git a/app-shells/bash-completion/bash-completion-2.14.0.ebuild b/app-shells/bash-completion/bash-completion-2.14.0.ebuild new file mode 100644 index 000000000000..a66af6d25158 --- /dev/null +++ b/app-shells/bash-completion/bash-completion-2.14.0.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +BASHCOMP_P=bashcomp-2.0.3 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit python-any-r1 + +DESCRIPTION="Programmable Completion for bash" +HOMEPAGE="https://github.com/scop/bash-completion" +SRC_URI=" + https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz + eselect? ( + https://github.com/projg2/bashcomp2/releases/download/v${BASHCOMP_P#*-}/${BASHCOMP_P}.tar.gz + ) +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+eselect test" +RESTRICT="!test? ( test )" + +# completion collision with net-fs/mc +RDEPEND=" + >=app-shells/bash-4.3_p30-r1:0 + sys-apps/miscfiles + !<app-text/tree-2.1.1-r1 + !!net-fs/mc +" +BDEPEND=" + test? ( + ${RDEPEND} + $(python_gen_any_dep ' + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ') + ) +" +PDEPEND=" + >=app-shells/gentoo-bashcomp-20140911 +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.14.0-optimize-kernel-modules.patch +) + +strip_completions() { + # Remove unwanted completions. + local strip_completions=( + # Slackware package stuff, quite generic names cause collisions + # (e.g. with sys-apps/pacman) + explodepkg installpkg makepkg pkgtool removepkg upgradepkg + + # Debian/Red Hat network stuff + ifdown ifup ifquery ifstatus + + # Installed in app-editors/vim-core + xxd + + # Now-dead symlinks to deprecated completions + hd ncal + + # FreeBSD + freebsd-update kldload kldunload portinstall portsnap + pkg_deinstall pkg_delete pkg_info + ) + + local file + for file in "${strip_completions[@]}"; do + rm "${ED}"/usr/share/bash-completion/completions/${file} || + die "stripping ${file} failed" + done + + # remove deprecated completions (moved to other packages) + rm "${ED}"/usr/share/bash-completion/completions/_* || die +} + +python_check_deps() { + python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + if use eselect; then + eapply "${WORKDIR}/${BASHCOMP_P}/bash-completion-blacklist-support.patch" + fi + + default +} + +src_test() { + local EPYTEST_DESELECT=( + # redhat-specific, we strip these completions + test/t/test_if{down,up}.py + # not available for icedtea + test/t/test_javaws.py + # TODO + test/t/test_vi.py::TestVi::test_2 + test/t/test_xmlwf.py::TestXmlwf::test_2 #bug 886159 + test/t/test_xrandr.py::TestXrandr::test_output_filter + ) + local EPYTEST_IGNORE=( + # stupid test that async tests work + test/fixtures/pytest/test_async.py + ) + local EPYTEST_XDIST=1 + + # portage's HOME override breaks tests + local -x HOME=$(unset HOME; echo ~) + addpredict "${HOME}" + # used in pytest tests + local -x NETWORK=none + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin + emake -C completions check + epytest +} + +src_install() { + # work-around race conditions, bug #526996 + mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die + + emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install + + strip_completions + + dodoc AUTHORS CHANGELOG.md CONTRIBUTING.md README.md + + # install the python completions for all targets, bug #622892 + local TARGET + for TARGET in "${PYTHON_COMPAT[@]}"; do + if [[ ! -e "${ED}"/usr/share/bash-completion/completions/${TARGET/_/.} ]]; then + dosym python "${ED}"/usr/share/bash-completion/completions/${TARGET/_/.} + fi + done + + # install the eselect module + if use eselect; then + insinto /usr/share/eselect/modules + doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect" + doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5" + fi +} + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt 2.1-r90; then + ewarn "For bash-completion autoloader to work, all completions need to" + ewarn "be installed in /usr/share/bash-completion/completions. You may" + ewarn "need to rebuild packages that installed completions in the old" + ewarn "location. You can do this using:" + ewarn + ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +" + ewarn + ewarn "After the rebuild, you should remove the old setup symlinks:" + ewarn + ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete" + fi + done + + if has_version 'app-shells/zsh'; then + elog + elog "If you are interested in using the provided bash completion functions with" + elog "zsh, valuable tips on the effective use of bashcompinit are available:" + elog " http://www.zsh.org/mla/workers/2003/msg00046.html" + elog + fi +} diff --git a/app-shells/bash-completion/files/bash-completion-2.14.0-optimize-kernel-modules.patch b/app-shells/bash-completion/files/bash-completion-2.14.0-optimize-kernel-modules.patch new file mode 100644 index 000000000000..10771ac3d92e --- /dev/null +++ b/app-shells/bash-completion/files/bash-completion-2.14.0-optimize-kernel-modules.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/669128#c3 + +--- a/bash_completion ++++ b/bash_completion +@@ -2037,7 +2037,7 @@ _comp__init_set_up_service_completions + _comp_compgen_kernel_modules() + { + local _modpath=/lib/modules/$1 +- _comp_compgen_split -- "$(command ls -RL "$_modpath" 2>/dev/null | ++ _comp_compgen_split -- "$(command ls -RL "$_modpath"/!(source|build) 2>/dev/null | + command sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\)\{0,1\}$/\1/p' \ + -e 's/^\(.*\)\.ko\.zst$/\1/p')" + } diff --git a/app-shells/pwsh/Manifest b/app-shells/pwsh/Manifest index bc2838652d30..19ea20397d15 100644 --- a/app-shells/pwsh/Manifest +++ b/app-shells/pwsh/Manifest @@ -230,5 +230,5 @@ DIST xunit.extensibility.execution.2.5.3.nupkg 360139 BLAKE2B 8b52559e39b4ac0de9 DIST xunit.runner.visualstudio.2.5.6.nupkg 581724 BLAKE2B 9457d3c19a09e60708ec348357fd83b6f2b163d254b2048caf4c3fb46dfcc982b019810efe939c14cc01aa9ea1e2f1990a99b4ada9b11cde767b8e8a33db6289 SHA512 6cb3279236a1dd52bca7f590b0a84511f701a692bc9f508ef3ee0670675631a801050d0563c9c09a1939f9254e6e370998114e3139abe4de59738b9ff09766c7 DIST xunit.skippablefact.1.4.13.nupkg 46061 BLAKE2B 1c362ebed9d8f88fb8f3728194b7b406f05aaac3776ea8b1167722b82799a6acd589771044aee37d045d45e7760cdde1a555b80cb8a92c5d55e0cc3ead6e66c5 SHA512 d3cf30ada4d447fd4737143554f9c9be1aabe502e1c5e2614e13100bda71f3ed9eab03805c7d3475936a9ed6730bf86ce2212f6da6ccf5306553fc1352bcd5ba DIST xunitxml.testlogger.3.1.17.nupkg 84249 BLAKE2B dc53293a4c910397d6ccab3cf32a9ec53503e3146b296efbea20aa32498bf5008355e784083202daa0ea494133eec02f81831dced153d2f2fb28070ffc1a54b0 SHA512 da05c84fe7a8417e1ef69aaed013ee0ac08f74ddbd67b00bc3736f9e1e2e4c6283c4fa1b7119eb73e61c87e0007d86937628db9ed256167cc47d1e0234c5defc -EBUILD pwsh-7.4.1.ebuild 12567 BLAKE2B 230113e93e60e9d79710693f4b328e8cc4a7ec786f715ee7821a8c47960b4aa69fcc387602858b2ae50f8e9b1f6420abe93e3442c393f157ebfdf6aace0876e4 SHA512 187688d4c562bced379a0e14e2eeae3383907c87ac5afe0f096d70b679849e108d0cbab6331a5d9c950005fe073e3c3cd9121f6aad8e53cf6e1a2d3896e1a045 +EBUILD pwsh-7.4.1.ebuild 12698 BLAKE2B 575185107e4df84cc7d5e810eff7d29bbf984f148195efea4cc4b4fadb4dd8cb26e59ef3ec7f563af17d108fcf1f9a2a44b31686dc17d78a93dfb24a591e1d8e SHA512 675d6552a0ea5f3aa15c1d7a5b25ccee5c27908f7db00a91b226e36dea407fe6092a22b7cf508116906d55778488e7676650e7e50c5e904659c3c43a8d616251 MISC metadata.xml 975 BLAKE2B 7829822b2adb78e5f231c4e2e40671b3df61ed90c5dc01267bb90a56a97758b0197ae523ed495d1099d5e51b4854cdf61c7f052584f1a4c08d353177dc3add5d SHA512 440546ebb8d93817d0dc48a11543c36f200c44a9f68ff394f0727d89c9af8f91127d5f76a1c0e88a61dbfd9f3c4c1711bf3dd75bcb91eed32052839eef01b564 diff --git a/app-shells/pwsh/pwsh-7.4.1.ebuild b/app-shells/pwsh/pwsh-7.4.1.ebuild index d322f45e998c..7431aec62918 100644 --- a/app-shells/pwsh/pwsh-7.4.1.ebuild +++ b/app-shells/pwsh/pwsh-7.4.1.ebuild @@ -296,17 +296,7 @@ PATCHES=( DOCS=( CHANGELOG CHANGELOG.md CODE_OF_CONDUCT.md README.md docs ) -gui_cache_update() { - if use gui ; then - xdg_icon_cache_update - xdg_desktop_database_update - fi -} - -pkg_setup() { - check-reqs_pkg_setup - dotnet-pkg_pkg_setup - +check_requirements_locale() { if [[ "${MERGE_TYPE}" != binary ]] ; then if use elibc_glibc ; then local locales @@ -331,6 +321,26 @@ pkg_setup() { fi } +gui_cache_update() { + if use gui ; then + xdg_icon_cache_update + xdg_desktop_database_update + fi +} + +pkg_pretend() { + check-reqs_pkg_pretend + + check_requirements_locale +} + +pkg_setup() { + check-reqs_pkg_setup + dotnet-pkg_pkg_setup + + check_requirements_locale +} + src_prepare() { dotnet-pkg_src_prepare diff --git a/app-shells/starship/Manifest b/app-shells/starship/Manifest index e7f24dbc40ae..1c0d54b2fe2b 100644 --- a/app-shells/starship/Manifest +++ b/app-shells/starship/Manifest @@ -475,6 +475,8 @@ DIST socket2-0.4.9.crate 45421 BLAKE2B 19c296b1b42839086793a29234f604a6c94ed1b9d DIST starship-1.16.0.tar.gz 7686971 BLAKE2B b81882610b49780de0892d11561dbc85ce651a7410604496dd9b7562ccf4f060528d9a7241e87acee5b29caad7ad3e29abe8dae9bf22e1ebb54281dd78fd534b SHA512 867d6691788ab91d39c4e5610051936d90bdc815a76520114d88d81bfaa7ad854b904f164d21e1ab9654e6ab2da0e689e9ef65f23ad6734215e4242db3ed6f94 DIST starship-1.17.1.crate 340183 BLAKE2B d1c640d862760803dfe2973f2ed2344d3b49cf82de2df4b2312b9fc87a820cc2445d2ba2763a1530a256d20d776b5a726f838b463b1145e7bb8d4809642af70c SHA512 eb40b86fd251c352bfd82471150c026a3665325156a31aaeea442f36622d449a14fc1983fb35efbe45caf6b110327af44bc5da7b7d21f93a5f5bbe37f333c9b1 DIST starship-1.17.1.tar.gz 7973673 BLAKE2B 5ba2900aa4681cc71cee85b227e61d6cafad5b5a8ae7828b8f566a3950a579c1505ef102bba641f7495a558645a2c38eb830143322d3672c83eb77186d5759c1 SHA512 4005faf828bedf20a101e22b10f770968feb419deae8c23594cb645abaff167c494767c15a36d61c918ac099a38f5a82b8467ff5031857fd733eca011f1ae414 +DIST starship-1.18.2-crates.tar.xz 38152384 BLAKE2B c88decb5ca2534c262c68aa7e0fcec966598967a864906f2dc8353fa8a63b94535c5bb86fa09d4be80df1421473ad3a5b3547dcc25d81f51dac117f235a7f52f SHA512 ed63f80509ea3fa37ee6dfdc76aa36604e49f12fea54e5250e1adb3e4f1b6a2ca98b7104d72724047cafffb1997c447b9d0f286a63249d70d68bbd0fa060f7e2 +DIST starship-1.18.2.tar.gz 8256264 BLAKE2B 1ed2fa0bc71de0e48ad1073227acdc020c4d7f6ac0d060d53ff0689975bc395a83fbfc611f6392013b10c7b87a08309d03742058dbff2672a1b23048ad9e72de SHA512 77bdebf9fe3bad485ef99562a4c90574f0201c7c3e9ae25665fea85da3a9b038ebc68806ca639f127f2c4f2f974e699e271481e0d945ff294b212449b1ebd70f DIST starship-battery-0.8.1.crate 40920 BLAKE2B 06e4a3725905644b1fe9227bfd6f720cb50314645cf332032a8dc32d8d972cbcda54662d3511227b761f266bea6208442ff852468978673ba3424775cda76471 SHA512 383896da59dd82c842a47ba57bd5fed9344d526d2c3ba5a93b7becffa011517c57cfcc5ca06f2d96aeb9e4408587725391a199fec3868d93f92e29bb4b95be15 DIST starship-battery-0.8.2.crate 40839 BLAKE2B df6820322d9df15b6ff81105600d6b972cbf3c330f1bb33e2d304d08a1260b89e6efb4d1dfec76c8ac78723b2c5df1ae5ef110b38446978810c4d0e93135fbaf SHA512 a552c5592de081b4e8eb0d61d8a16349f1b1a69172717ae3f1a3ed34973bcde588aad7d874670042cb9f14d0efea2d302d369a369252c78d36401c567376da39 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee @@ -623,4 +625,5 @@ DIST zvariant_derive-3.15.0.crate 10943 BLAKE2B e75d5feb9a76b74c7b77d0be8552c06a DIST zvariant_utils-1.0.1.crate 6223 BLAKE2B ea304bac65493168f1be268192829d5a666a267b1f69533a9d2da2b2d2447d7a9f0f70164d60ab02afd90134e37060f86706bc7047c23aedb198d0834f987d15 SHA512 3cf364d53f1169d5274998c3f06ef1a9371071644b256223441deb004553d4eccbb564305ddc0693cf1b7a595e8c1b989df0f8b4eb8447a72782d7d200120f36 EBUILD starship-1.16.0.ebuild 8282 BLAKE2B 9c7f952b1d528c0422c06f30073fc113365b24fa8619b8be810a1ff927425b007aee2e20565435bb75033779ad57a8093b87ab55d20b02f850ea9f6c7fb2ba8a SHA512 119b31429964267039f06eeeddd1a7c8bd36bc2b76464a230a703a3c7363b50641720de444a610cbda24009de15350f0b69aa7243fb1ddad47be3a06b0076626 EBUILD starship-1.17.1.ebuild 8269 BLAKE2B 84971c4b208345a21a7e748e4c14543a13198867d108c94d440176fd2d606749daa166bcb2c584028c59a7ea016f09f13aed098c3271faea0e9312780ee2aa3e SHA512 285f3259c76860155458a7de933dbb2f7d20bdd33a14a1dcb690dfaedf3ea95e61fc38e8b4bff6cdfdc87dfc653f48263f633066e3022c473a1ba5a9dd693d0e +EBUILD starship-1.18.2.ebuild 1194 BLAKE2B 384bf2f6f993fba36da5f20ebaca8c8d4c7cacde5408be8f2a5389f10d4a3cd5d16c1224bd0210e021438c97c987240123dfe83f40dfc9203a599c03a548b7d3 SHA512 8f10ab4e82388236dc4f68fc884cf08adc7faa1feb1f70a59191def9026b92003deb440936054de9e897cc0f412cdb304c2588144678bae33ffea76a064ff8e4 MISC metadata.xml 738 BLAKE2B 84ca83a5db6b67fe44f8a192499231851af9b7a7d1d279d4a2660147bee375332e3818633c310a0d9848e714e326e8fe6fe2c2dc7a8e99dd643a637bc46efb71 SHA512 f9ce6f2d5d4fc1cffc524ee25df289e33574a98b32b35ab7221e9ea193835ca6038c87093218d0a5ccb43fbb28e524535b8280491da8e72d88d1f1a96b3c7bb2 diff --git a/app-shells/starship/starship-1.18.2.ebuild b/app-shells/starship/starship-1.18.2.ebuild new file mode 100644 index 000000000000..c216205ceba3 --- /dev/null +++ b/app-shells/starship/starship-1.18.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" + +inherit cargo + +DESCRIPTION="The minimal, blazing-fast, and infinitely customizable prompt for any shell" +HOMEPAGE="https://starship.rs/" +SRC_URI=" + https://github.com/starship/starship/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} + https://dev.gentoo.org/~arthurzam/distfiles/app-shells/${PN}/${P}-crates.tar.xz +" + +LICENSE="ISC" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense + WTFPL-2 ZLIB +" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + dev-build/cmake + >=virtual/rust-1.71 +" + +QA_FLAGS_IGNORED="usr/bin/starship" + +src_prepare() { + sed -e '/strip/s/true/false/' -i Cargo.toml || die # bug 866133 + default +} + +src_configure() { + export PKG_CONFIG_ALLOW_CROSS=1 + export OPENSSL_NO_VENDOR=true + + cargo_src_configure +} + +src_install() { + cargo_src_install + dodoc README.md CHANGELOG.md +} + +pkg_postinst() { + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt "1.9.0"; then + einfo "Note that vicmd_symbol config option was renamed to vimcmd_symbol in version 1.9" + fi + done +} |