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 4588E1581FD for ; Tue, 09 Sep 2025 01:48:23 +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 2749E340824 for ; Tue, 09 Sep 2025 01:48:23 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1B07D1103BA; Tue, 09 Sep 2025 01:48:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 117A31103BA for ; Tue, 09 Sep 2025 01:48:22 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4C62340821 for ; Tue, 09 Sep 2025 01:48:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E629D3338 for ; Tue, 09 Sep 2025 01:48:19 +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: <1757382430.8772ec239aa24681a8bfa3c8862804538434f7b2.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.107.0.ebuild X-VCS-Directories: app-shells/nushell/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 8772ec239aa24681a8bfa3c8862804538434f7b2 X-VCS-Branch: master Date: Tue, 09 Sep 2025 01:48:19 +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: 24fe2fb8-c606-4e7e-9c27-f528d92a9cef X-Archives-Hash: d4ed29db82092115fb5df351ed5e50c5 commit: 8772ec239aa24681a8bfa3c8862804538434f7b2 Author: Jonas Frei pm me> AuthorDate: Fri Sep 5 18:10:23 2025 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Sep 9 01:47:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8772ec23 app-shells/nushell: add 0.107.0 Signed-off-by: Jonas Frei pm.me> From: https://github.com/gentoo/gentoo/pull/43676 Signed-off-by: Zac Medico gentoo.org> app-shells/nushell/Manifest | 2 + app-shells/nushell/nushell-0.107.0.ebuild | 94 +++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/app-shells/nushell/Manifest b/app-shells/nushell/Manifest index f6f63781e6d5..548437356cbf 100644 --- a/app-shells/nushell/Manifest +++ b/app-shells/nushell/Manifest @@ -6,3 +6,5 @@ DIST nushell-0.105.1-crates.tar.xz 65131560 BLAKE2B ee3ba245cd6cfe75d80411ddfbea 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 DIST nushell-0.106.1.tar.gz 3554709 BLAKE2B add4c1baaf9965e45832852ddf9764d2002f896a0e4a2746da75170cf49238433481f7e258e04d141ef968082605745022ad4ee4882eae1be70b06818495d6b7 SHA512 8ef9d2d1a18a627d15973cd5e73c96ee905c3534e818414d0cf42ddb3027571078de3857fd6898b5ff70ac38af732f14eba1af17ad541c1d6352eec21c9a6190 +DIST nushell-0.107.0-crates.tar.xz 66575964 BLAKE2B 744bbaa91e99640e4276dfec6453aa46bcd0675fe4ce28ac3a6b3df0a9429aa4d0dad6175046c974e6ff265ce1aa9640b9941e0bc37b262ef30d7541778adca1 SHA512 2277bf7b9b9af7483f3af6e6c9f9b1ad17e1c214a48bfa21cafb800809e65f18629d30d4e9f962bda4f8046411419f12222062c335ffa5e0742452b67fec03d2 +DIST nushell-0.107.0.tar.gz 3582761 BLAKE2B 19b8e11980aa4e26ae9694bdb1e15a638dd7dd5e6df545eceab458e42b9a607c75e1d18dcd4a4464beeda5b809296642100e3e6d374793b3fa5f97b3761bb4a9 SHA512 ec54aeb4eff74b858bd87528ff0ea99f60a3b327a48de504d04b5956a79972ba6109db56b0e49e89895baa55dfdba61ade34b2b4af5a1178be1f6c0a5db899c0 diff --git a/app-shells/nushell/nushell-0.107.0.ebuild b/app-shells/nushell/nushell-0.107.0.ebuild new file mode 100644 index 000000000000..4448ff3eee6b --- /dev/null +++ b/app-shells/nushell/nushell-0.107.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUST_MIN_VER="1.87.0" + +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" +SRC_URI+=" https://github.com/gentoo-crate-dist/nushell/releases/download/${PV}/${P}-crates.tar.xz" + +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/openssl:0= + 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-from-106.patch" + default +} + +src_configure() { + # high magic to allow system-libs + export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + export OPENSSL_NO_VENDOR=true + export PKG_CONFIG_ALLOW_CROSS=1 + + local myfeatures=( + plugin + native-tls + sqlite + $(usev system-clipboard) + trash-support + ) + + cargo_src_configure --no-default-features +} + +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 +}