* [PR PATCH] nushell: update to 0.90.1
@ 2024-02-28 20:56 cinerea0
2024-02-29 14:41 ` [PR PATCH] [Merged]: " cinerea0
0 siblings, 1 reply; 2+ messages in thread
From: cinerea0 @ 2024-02-28 20:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
There is a new pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages nushell
https://github.com/void-linux/void-packages/pull/48992
nushell: update to 0.90.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/48992.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nushell-48992.patch --]
[-- Type: text/x-diff, Size: 6144 bytes --]
From b6fbf612ded38d38f35fa6c89ecc222439466d1a Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Wed, 28 Feb 2024 15:55:35 -0500
Subject: [PATCH] nushell: update to 0.90.1
---
.../patches/0001-use-system-libraries.patch | 66 ++++++-------------
srcpkgs/nushell/template | 25 +++----
2 files changed, 32 insertions(+), 59 deletions(-)
diff --git a/srcpkgs/nushell/patches/0001-use-system-libraries.patch b/srcpkgs/nushell/patches/0001-use-system-libraries.patch
index a535d3ee7520e5..aa86ce4b58d806 100644
--- a/srcpkgs/nushell/patches/0001-use-system-libraries.patch
+++ b/srcpkgs/nushell/patches/0001-use-system-libraries.patch
@@ -1,67 +1,39 @@
-From d50a7241de7ebba53bec74b3dd5086417f38923b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
- <jan.christian@gruenhage.xyz>
-Date: Sat, 16 Dec 2023 14:01:23 +0100
-Subject: [PATCH] use system libraries
-
----
- Cargo.lock | 1 -
- Cargo.toml | 2 +-
- crates/nu-cli/Cargo.toml | 2 +-
- crates/nu-command/Cargo.toml | 2 +-
- 4 files changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/Cargo.lock b/Cargo.lock
-index 495bc2678..c7c1e24c7 100644
---- a/Cargo.lock
-+++ b/Cargo.lock
-@@ -2194,7 +2194,6 @@ version = "0.26.0"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326"
- dependencies = [
-- "cc",
- "pkg-config",
- "vcpkg",
- ]
diff --git a/Cargo.toml b/Cargo.toml
-index b3848de41..b8236f27a 100644
+index ff57424af7e..27e0ed3c154 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -69,7 +69,7 @@ nu-term-grid = { path = "./crates/nu-term-grid", version = "0.88.1" }
- nu-std = { path = "./crates/nu-std", version = "0.88.1" }
- nu-utils = { path = "./crates/nu-utils", version = "0.88.1" }
- nu-ansi-term = "0.49.0"
--reedline = { version = "0.27.0", features = ["bashisms", "sqlite"] }
-+reedline = { version = "0.27.0", features = ["bashisms", "sqlite-dynlib"] }
+@@ -78,7 +78,7 @@ nu-std = { path = "./crates/nu-std", version = "0.90.1" }
+ nu-utils = { path = "./crates/nu-utils", version = "0.90.1" }
+
+ nu-ansi-term = "0.50.0"
+-reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] }
++reedline = { version = "0.29.0", features = ["bashisms", "sqlite-dynlib"] }
crossterm = "0.27"
ctrlc = "3.4"
diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml
-index d07b6dab4..c2e50461d 100644
+index cbcfe333e0f..ab349ecbc6a 100644
--- a/crates/nu-cli/Cargo.toml
+++ b/crates/nu-cli/Cargo.toml
-@@ -25,7 +25,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.88.1" }
- nu-utils = { path = "../nu-utils", version = "0.88.1" }
- nu-color-config = { path = "../nu-color-config", version = "0.88.1" }
- nu-ansi-term = "0.49.0"
--reedline = { version = "0.27.0", features = ["bashisms", "sqlite"] }
-+reedline = { version = "0.27.0", features = ["bashisms", "sqlite-dynlib"] }
+@@ -25,7 +25,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.90.1" }
+ nu-utils = { path = "../nu-utils", version = "0.90.1" }
+ nu-color-config = { path = "../nu-color-config", version = "0.90.1" }
+ nu-ansi-term = "0.50.0"
+-reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] }
++reedline = { version = "0.29.0", features = ["bashisms", "sqlite-dynlib"] }
chrono = { default-features = false, features = ["std"], version = "0.4" }
crossterm = "0.27"
diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml
-index 4835bf264..ef8a83aaf 100644
+index 56f6a3ab622..9779f991a18 100644
--- a/crates/nu-command/Cargo.toml
+++ b/crates/nu-command/Cargo.toml
-@@ -73,7 +73,7 @@ rand = "0.8"
+@@ -72,7 +72,7 @@ rand = "0.8"
rayon = "1.8"
regex = "1.9.5"
roxmltree = "0.18"
--rusqlite = { version = "0.29", features = ["bundled", "backup"], optional = true }
-+rusqlite = { version = "0.29", features = ["backup"], optional = true }
+-rusqlite = { version = "0.29", features = ["bundled", "backup", "chrono"], optional = true }
++rusqlite = { version = "0.29", features = ["backup", "chrono"], optional = true }
same-file = "1.0"
serde = { version = "1.0", features = ["derive"] }
- serde_json = "1.0"
---
-2.43.0
-
+ serde_json = { version = "1.0", features = ["preserve_order"] }
diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index f9681189f527a3..a2fc7e1a380cd3 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,35 +1,36 @@
# Template file for 'nushell'
pkgname=nushell
-version=0.88.1
-revision=2
+version=0.90.1
+revision=1
build_style=cargo
-configure_args="--features=extra"
-hostmakedepends="pkg-config python3 libgit2-devel"
-makedepends="openssl-devel libgit2-devel libX11-devel libxcb-devel
- libcurl-devel libzstd-devel liblz4-devel zlib-devel
- nghttp2-devel bzip2-devel sqlite-devel"
+configure_args="--features=extra,dataframe"
+hostmakedepends="pkg-config libgit2-devel"
+makedepends="openssl-devel libgit2-devel libzstd-devel sqlite-devel"
+depends="mimalloc"
short_desc="Modern shell for the GitHub era"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://www.nushell.sh/"
changelog="https://www.nushell.sh/blog/"
distfiles="https://github.com/nushell/nushell/archive/refs/tags/${version}.tar.gz"
-checksum=19f5a46799142117f61989a76f85fdd24361fe9e5068565d7fff36b91a7a7a39
+checksum=cb15559556311dea349a0f0b5fddeb3cc7a3adea9b0586753f0c632d69727084
register_shell="/usr/bin/nu"
# all tests fail with argument --target
make_check=no
case "$XBPS_TARGET_MACHINE" in
-i686*)
- broken='https://build.voidlinux.org/builders/i686_builder/builds/33520/steps/shell_3/logs/stdio'
- ;;
-ppc*) broken="arrow-rs parquet is busted garbage" ;;
+ i686*) broken="simd-json does not implement i686" ;;
+ ppc*) broken="arrow-rs parquet is busted garbage" ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
XBPS_CROSS_RUSTFLAGS+=" -latomic"
fi
+post_patch() {
+ cargo update --recursive reedline
+}
+
post_install() {
vlicense LICENSE
vsconf crates/nu-utils/src/sample_config/default_config.nu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: nushell: update to 0.90.1
2024-02-28 20:56 [PR PATCH] nushell: update to 0.90.1 cinerea0
@ 2024-02-29 14:41 ` cinerea0
0 siblings, 0 replies; 2+ messages in thread
From: cinerea0 @ 2024-02-29 14:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
There's a merged pull request on the void-packages repository
nushell: update to 0.90.1
https://github.com/void-linux/void-packages/pull/48992
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
---
cc @jcgruenhage
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-29 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 20:56 [PR PATCH] nushell: update to 0.90.1 cinerea0
2024-02-29 14:41 ` [PR PATCH] [Merged]: " cinerea0
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).