From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB92F15808A for ; Tue, 05 Aug 2025 03:15:51 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D77F93408CF for ; Tue, 05 Aug 2025 03:15:51 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C011711036D; Tue, 05 Aug 2025 03:15:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B2B6911036D for ; Tue, 05 Aug 2025 03:15:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65A3B340200 for ; Tue, 05 Aug 2025 03:15:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E25973234 for ; Tue, 05 Aug 2025 03:15:48 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1754363753.1291f5d29c3315eed170ef13b06fdf02b6f07f7c.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/nushell/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/nushell/Manifest app-shells/nushell/nushell-0.104.1.ebuild X-VCS-Directories: app-shells/nushell/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 1291f5d29c3315eed170ef13b06fdf02b6f07f7c X-VCS-Branch: master Date: Tue, 05 Aug 2025 03:15:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60c3ddd9-14e8-4a3b-b8cd-e34ed49fac6f X-Archives-Hash: 54be33d0d47897ed837cd1834f21a89d commit: 1291f5d29c3315eed170ef13b06fdf02b6f07f7c Author: Zac Medico gentoo org> AuthorDate: Tue Aug 5 03:12:38 2025 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Aug 5 03:15:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1291f5d2 Revert "app-shells/nushell: drop 0.104.1" This reverts commit 58abd5603a44a551c8f2376484ec72f2478b6e99 so that we can stabilize 0.104.1. Bug: https://bugs.gentoo.org/960176 Signed-off-by: Zac Medico gentoo.org> app-shells/nushell/Manifest | 2 + app-shells/nushell/nushell-0.104.1.ebuild | 104 ++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/app-shells/nushell/Manifest b/app-shells/nushell/Manifest index 24e570a65c24..f6f63781e6d5 100644 --- a/app-shells/nushell/Manifest +++ b/app-shells/nushell/Manifest @@ -1,5 +1,7 @@ DIST nushell-0.103.0-crates.tar.xz 65126568 BLAKE2B 28005d82c254dfc4ff599acf15cf8bfc6dc248ff96fe39fb1d0e99e31ca4eb758f0d7bfeea3b59e7194354e3343cc327d09a5257f4d8103576867219cf5003d6 SHA512 e8e33b90021a7263f429acf87ba3abd6c04817bbc0051d4852c9984bf4428a7629c4b8a6cd4aac1ef24a5d09e35793bad0c66f3d0fdddc66cc26e190d9a82d3f DIST nushell-0.103.0.tar.gz 3435849 BLAKE2B 5907214eb362dbb3edcda29b47cf3f34159ed5fb71af47dea0f27df5857b22662f7e73463f4648f3eb32e26376fbefd9c1a72860cb387d6e36ec200b05d7a135 SHA512 9570f2f92ea158b4604a2b19e0141d804b48d2b0a105214558e61d97c247d9cddbf7023e9539f01258c31650fcdb37aa10a593ab4671f2d4ee4a84c697fe2150 +DIST nushell-0.104.1-crates.tar.xz 65912192 BLAKE2B b96b2e4b705f9082696ad0b8401ca0f2a90585accdc69489e3d5cf9b46af98afedcf4f1d09a37e1aa464c6edecb300f03d1e92c0bf956685e679b16acb1f6265 SHA512 ffeecdd630f53b7987992bef247f398418d3deb6f6119c0d9ee3d41f1fa5b8746b79f812a209766f9f9ff0c8a70b92b727c09c3668929cb12ac58b82e34f272e +DIST nushell-0.104.1.tar.gz 3486074 BLAKE2B 2278b8a862f0a2ece0824028fc8e00e48ee027552441f78d112fecff111ffa8875c9b48a44def5864e792e256f16ab35c700a13cd2cf1707b1dd14bcb5a36c84 SHA512 963efb959385d28839a1505111a3841c08cad7c1941c7c5a3dfc941d34cbd0d2a46d1602cd72f8b5920d86a03b2c157da9893f8ea2b25bbab81c12651a2e91c9 DIST nushell-0.105.1-crates.tar.xz 65131560 BLAKE2B ee3ba245cd6cfe75d80411ddfbea4def29c6c1839e3542010f13107766cadec9e2a9c4b334555eeb4c5023cd85028f68be5e16db9733d41b21d263cf1ab44d3e SHA512 428fe75c79ac3e8ae003d6609242dae79cab507de9b935e5b6cefc9d4054a767861b9d0d4329d7689614ada5859f37623d1d902288da4b09caf4199d2ca03b9c DIST nushell-0.105.1.tar.gz 3527094 BLAKE2B ea2ca2d6d090ab1a0fbfb64b19ac90fb26330e5e4cfea23dad381f79465cdef42211b94c1b647c9f1a7a898247d61e677fff7be6a28aa4a97f638819cb9380bb SHA512 5027c8997524be6514460fb72f164e3609deb6abecc1302c5dd6b824e8c47334b56ca8c612bc7c5556075973e209935b09a07fb19ad96aa8aa7e2d6de9c6c7c2 DIST nushell-0.106.1-crates.tar.xz 65545620 BLAKE2B eac1413af9183e7cdeddf4981f04961be76321cb676b7d5e2ef6b910316b0f7adff520ef72c628905a8cd336cc10334933d319f37134a99c83f95389cfef54aa SHA512 106a064be69f99cbb7e9c4e4393adc7630ba5e3f6b9a8c2e724b6152ea38cebfee4ca23685fab85cbeddf39be85b137295b7514831a9b5b153d6419513010bbf diff --git a/app-shells/nushell/nushell-0.104.1.ebuild b/app-shells/nushell/nushell-0.104.1.ebuild new file mode 100644 index 000000000000..5a730cec9dd2 --- /dev/null +++ b/app-shells/nushell/nushell-0.104.1.ebuild @@ -0,0 +1,104 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" + +RUST_MIN_VER="1.84.1" + +inherit cargo + +DESCRIPTION="A new type of shell, written in Rust" +HOMEPAGE="https://www.nushell.sh" +SRC_URI=" + https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz +" +DEPS_URI="https://github.com/freijon/${PN}/releases/download/${PV}/${P}-crates.tar.xz" +SRC_URI+=" ${DEPS_URI}" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 BSD Boost-1.0 CC-PD CC0-1.0 ISC MIT MPL-2.0 MPL-2.0 + Unicode-DFS-2016 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +IUSE="plugins system-clipboard X" + +DEPEND=" + >=dev-libs/libgit2-0.99:= + dev-libs/oniguruma:= + dev-libs/openssl:0= + net-libs/libssh2:= + net-libs/nghttp2:= + net-misc/curl + dev-db/sqlite:3= + system-clipboard? ( + X? ( + x11-libs/libX11 + x11-libs/libxcb + ) + ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +RESTRICT+=" test" + +QA_FLAGS_IGNORED="usr/bin/nu.*" + +src_prepare() { + use plugins || eapply "${FILESDIR/${PN}-dont-build-plugins.patch}" + default +} + +src_configure() { + # high magic to allow system-libs + export OPENSSL_NO_VENDOR=true + export RUSTONIG_SYSTEM_LIBONIG=1 + export LIBGIT2_SYS_USE_PKG_CONFIG=1 + export LIBSSH2_SYS_USE_PKG_CONFIG=1 + export PKG_CONFIG_ALLOW_CROSS=1 + + local myfeatures=( + $(usev system-clipboard) + ) + + cargo_src_configure +} + +src_compile() { + cargo_src_compile --workspace +} + +src_install() { + cargo_src_install + if use plugins ; then + # Clear features to compile plugins + local myfeatures=() + cargo_src_configure + + cargo_src_install --path crates/nu_plugin_custom_values + cargo_src_install --path crates/nu_plugin_example + cargo_src_install --path crates/nu_plugin_formats + cargo_src_install --path crates/nu_plugin_gstat + cargo_src_install --path crates/nu_plugin_inc + cargo_src_install --path crates/nu_plugin_polars + cargo_src_install --path crates/nu_plugin_query + cargo_src_install --path crates/nu_plugin_stress_internals + fi + local DOCS=( README.md ) + einstalldocs +} + +pkg_postinst() { + if use plugins ; then + einfo "The plugins are installed alongside the main 'nu' binary." + einfo "Visit https://www.nushell.sh/book/plugins.html#adding-a-plugin" + einfo "for more information on how to use plugins." + fi +}