public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/nushell/
Date: Wed, 19 Mar 2025 22:26:59 +0000 (UTC)	[thread overview]
Message-ID: <1742423214.40f56133584c6724b41d3ade4119897dc47ee094.zmedico@gentoo> (raw)

commit:     40f56133584c6724b41d3ade4119897dc47ee094
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Wed Mar 19 05:45:42 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Mar 19 22:26:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f56133

app-shells/nushell: add 0.103.0

Signed-off-by: Jonas Frei <freijon <AT> pm.me>
From: https://github.com/gentoo/gentoo/pull/41164
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-shells/nushell/Manifest               |   2 +
 app-shells/nushell/nushell-0.103.0.ebuild | 104 ++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/app-shells/nushell/Manifest b/app-shells/nushell/Manifest
index f9802e651693..4ca0139c0bac 100644
--- a/app-shells/nushell/Manifest
+++ b/app-shells/nushell/Manifest
@@ -4,3 +4,5 @@ DIST nushell-0.101.0-deps.tar.xz 79707276 BLAKE2B 0981fa6cd3a3703ed746a5900af93f
 DIST nushell-0.101.0.tar.gz 3326793 BLAKE2B 23a2504806bea8dde38b2d3af4599b73d326f2334e588aacfefdef6bf0f2a3fd299e57d02c935ce0e3ca56408ce9b09c219c0bf8630be8f50222cb6edc522679 SHA512 ba5c406720e0ac7dff22fc59a0ae3542cfa9640b6c7169a3537d8be59c2bdb31830f117a59a5c91dcdd7ed7a2ca8fbff1fae7f09ce01a60bd27833cfbc44e05a
 DIST nushell-0.102.0-crates.tar.xz 67788144 BLAKE2B 87ebc15f781ef60cf5c5f993613cacca7f2dc15c1daa081827c45a69df0750205cbcc4675f535ff72d2730ace06973276facfe6cf7457fe308e96c55d3e2383f SHA512 f6873367635c0bad5c50419b62b1257465de102f278ce43f6838ac42829efc5137f0ec51776df0d8a59c96f58de92223728e8e56c0fc313102d25cc5dbc92672
 DIST nushell-0.102.0.tar.gz 3375963 BLAKE2B ea6029d3fb910d1d0a0c84d4242a30204c7d75bec5f41b6d28f22e338b0b164d10d1cf2deea8fb4ace62f772e40f9bb3c6bb2caba160883b9df765efa642fe78 SHA512 ebe8c120686f2b5c89ac93d4cf26b1c4efa635e34b3dd06b05d3167ee02086fd4b0aa14b234575cdf83f91515b99dbfec05addeaa9c7428045322ca0eea139a4
+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

diff --git a/app-shells/nushell/nushell-0.103.0.ebuild b/app-shells/nushell/nushell-0.103.0.ebuild
new file mode 100644
index 000000000000..4e961395820d
--- /dev/null
+++ b/app-shells/nushell/nushell-0.103.0.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.83.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
+"
+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
+}


             reply	other threads:[~2025-03-19 22:27 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 22:26 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-22  4:34 [gentoo-commits] repo/gentoo:master commit in: app-shells/nushell/ Sam James
2025-03-19 22:26 Zac Medico
2025-02-07 17:50 Sam James
2025-02-07  4:21 Zac Medico
2025-02-07  4:21 Zac Medico
2025-01-11 18:22 Zac Medico
2024-12-31  4:57 Sam James
2024-12-29 19:40 Zac Medico
2024-11-17 19:19 Zac Medico
2024-11-16  2:36 Zac Medico
2024-11-16  2:36 Zac Medico
2024-11-10 17:40 Zac Medico
2024-11-10 17:40 Zac Medico
2024-09-22 18:38 Arthur Zamarin
2024-09-21  8:58 Michał Górny
2024-09-20 15:32 Arthur Zamarin
2024-09-20 14:50 Arthur Zamarin
2024-09-20 14:50 Arthur Zamarin
2024-08-07  2:26 Zac Medico
2024-08-07  2:26 Zac Medico
2024-08-06 10:59 Sam James
2024-06-04 16:27 Zac Medico
2024-05-25  5:05 Arthur Zamarin
2024-05-19  8:43 Zac Medico
2024-04-16  5:42 Joonas Niilola
2024-04-16  5:42 Joonas Niilola
2024-04-05 16:40 Arthur Zamarin
2024-03-15  3:40 Zac Medico
2024-03-15  3:40 Zac Medico
2024-02-28  9:12 Florian Schmaus
2024-01-17  5:05 Zac Medico
2024-01-17  5:05 Zac Medico
2023-12-18  9:23 Zac Medico
2023-12-18  9:23 Zac Medico
2023-12-18  9:23 Zac Medico
2023-11-18  3:21 Zac Medico
2023-11-17 12:07 Sam James
2023-10-10 18:38 Florian Schmaus
2023-10-10 18:38 Florian Schmaus
2023-08-28  4:06 Zac Medico
2023-08-28  4:06 Zac Medico
2023-08-16  5:15 Zac Medico
2023-08-16  5:15 Zac Medico
2023-07-27  6:35 Zac Medico
2023-07-27  6:35 Zac Medico
2023-07-13  6:03 Zac Medico
2023-07-13  6:03 Zac Medico
2023-07-13  6:03 Zac Medico
2023-04-15  2:40 Sam James
2023-02-01  2:44 Zac Medico
2023-01-31  2:10 Zac Medico
2023-01-31  2:10 Zac Medico
2022-11-16  2:49 Zac Medico
2022-10-20  4:16 Zac Medico
2022-10-20  4:15 Zac Medico
2022-10-18  3:50 Zac Medico
2022-08-06 18:42 Zac Medico
2022-08-06 17:38 Zac Medico
2022-07-10 22:31 Zac Medico
2022-06-18 21:50 Zac Medico
2022-06-18 21:50 Zac Medico
2022-05-22 15:09 Zac Medico
2022-05-04  3:18 Zac Medico
2022-04-13  3:58 Zac Medico
2022-03-24  3:34 Zac Medico
2022-03-24  2:35 Zac Medico
2022-01-24  3:52 Zac Medico
2021-12-28 21:13 Zac Medico
2021-12-28 21:13 Zac Medico
2021-12-12 14:23 Yixun Lan
2021-12-08  4:11 Zac Medico
2021-11-17  1:34 Zac Medico
2021-10-31  5:23 Zac Medico
2021-06-20 21:34 Georgy Yakovlev
2021-06-20 21:34 Georgy Yakovlev
2021-06-20  8:45 Georgy Yakovlev
2021-06-20  6:36 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1742423214.40f56133584c6724b41d3ade4119897dc47ee094.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox