Github messages for voidlinux
 help / color / mirror / Atom feed
From: FollieHiyuki <FollieHiyuki@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.29.0
Date: Wed, 31 Mar 2021 01:11:19 +0200	[thread overview]
Message-ID: <20210330231119.4Hl-GtxIxKbFqe6eRH4Tn4_tDth_ERnX20-AKV6WEuQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29896@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1728 bytes --]

There is an updated pull request by FollieHiyuki against master on the void-packages repository

https://github.com/FollieHiyuki/void-packages nushell-update
https://github.com/void-linux/void-packages/pull/29896

[WIP] nushell: update to 0.29.0
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

Upstream fixed the test failure problem with `--release`, yet the tests still don't run locally on my machine.
Will try to figure it out.


A patch file from https://github.com/void-linux/void-packages/pull/29896.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nushell-update-29896.patch --]
[-- Type: text/x-diff, Size: 10628 bytes --]

From 0ce1e776d4a58385abd3de535c24ee8bf1f12237 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Wed, 31 Mar 2021 00:55:19 +0300
Subject: [PATCH] nushell: update to 0.29.0

---
 srcpkgs/nushell/patches/avoid-ring.patch | 325 -----------------------
 srcpkgs/nushell/template                 |  18 +-
 2 files changed, 3 insertions(+), 340 deletions(-)
 delete mode 100644 srcpkgs/nushell/patches/avoid-ring.patch

diff --git a/srcpkgs/nushell/patches/avoid-ring.patch b/srcpkgs/nushell/patches/avoid-ring.patch
deleted file mode 100644
index 09c2752d5c10..000000000000
--- a/srcpkgs/nushell/patches/avoid-ring.patch
+++ /dev/null
@@ -1,325 +0,0 @@
-From 2e58576e6ec9a038a63d7dfb8658a7323acf8931 Mon Sep 17 00:00:00 2001
-From: Darren Schroeder <343840+fdncred@users.noreply.github.com>
-Date: Wed, 10 Mar 2021 15:09:10 -0600
-Subject: [PATCH] move from h1-client-rustls to hyper-client
-
----
- Cargo.lock                        | 174 ++----------------------------
- crates/nu_plugin_fetch/Cargo.toml |   2 +-
- 2 files changed, 7 insertions(+), 169 deletions(-)
-
-diff --git a/Cargo.lock b/Cargo.lock
-index 851dff856..a2b5a8c39 100644
---- Cargo.lock
-+++ Cargo.lock
-@@ -204,16 +204,6 @@ dependencies = [
-  "futures-core",
- ]
- 
--[[package]]
--name = "async-dup"
--version = "1.2.2"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "7427a12b8dc09291528cfb1da2447059adb4a257388c2acd6497a79d55cf6f7c"
--dependencies = [
-- "futures-io",
-- "simple-mutex",
--]
--
- [[package]]
- name = "async-executor"
- version = "1.4.0"
-@@ -242,24 +232,7 @@ dependencies = [
-  "futures-lite",
-  "num_cpus",
-  "once_cell",
--]
--
--[[package]]
--name = "async-h1"
--version = "2.3.1"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "3e9e2a9745d9cd0d92ed7641ce4d07568985762f92633260f0afe8ac7917d9d7"
--dependencies = [
-- "async-channel",
-- "async-dup",
-- "async-std",
-- "byte-pool",
-- "futures-core",
-- "http-types",
-- "httparse",
-- "lazy_static 1.4.0",
-- "log 0.4.14",
-- "pin-project 1.0.4",
-+ "tokio 0.2.24",
- ]
- 
- [[package]]
-@@ -345,19 +318,6 @@ version = "4.0.3"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0"
- 
--[[package]]
--name = "async-tls"
--version = "0.10.0"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "d85a97c4a0ecce878efd3f945f119c78a646d8975340bca0398f9bb05c30cc52"
--dependencies = [
-- "futures-core",
-- "futures-io",
-- "rustls",
-- "webpki",
-- "webpki-roots",
--]
--
- [[package]]
- name = "async-trait"
- version = "0.1.42"
-@@ -602,16 +562,6 @@ version = "3.4.0"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820"
- 
--[[package]]
--name = "byte-pool"
--version = "0.2.2"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "1e38e98299d518ec351ca016363e0cbfc77059dcd08dfa9700d15e405536097a"
--dependencies = [
-- "crossbeam-queue 0.2.3",
-- "stable_deref_trait",
--]
--
- [[package]]
- name = "byte-tools"
- version = "0.2.0"
-@@ -1045,16 +995,6 @@ dependencies = [
-  "maybe-uninit",
- ]
- 
--[[package]]
--name = "crossbeam-queue"
--version = "0.3.1"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "0f6cb3c7f5b8e51bc3ebb73a2327ad4abdbd119dc13223f14f961d2f38486756"
--dependencies = [
-- "cfg-if 1.0.0",
-- "crossbeam-utils 0.8.1",
--]
--
- [[package]]
- name = "crossbeam-utils"
- version = "0.6.6"
-@@ -1282,20 +1222,6 @@ version = "2.3.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
- 
--[[package]]
--name = "deadpool"
--version = "0.7.0"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "3d126179d86aee4556e54f5f3c6bf6d9884e7cc52cef82f77ee6f90a7747616d"
--dependencies = [
-- "async-trait",
-- "config",
-- "crossbeam-queue 0.3.1",
-- "num_cpus",
-- "serde 1.0.123",
-- "tokio 1.2.0",
--]
--
- [[package]]
- name = "decimal"
- version = "2.0.4"
-@@ -2331,15 +2257,14 @@ version = "6.3.3"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "663563ebc56b0bac7e08722cca7742612fd99d9bd6d05cf904ed9d9212065a34"
- dependencies = [
-- "async-h1",
-  "async-std",
-- "async-tls",
-  "async-trait",
-  "cfg-if 1.0.0",
-  "dashmap",
-- "deadpool",
-- "futures 0.3.12",
-+ "futures-util",
-  "http-types",
-+ "hyper 0.13.9",
-+ "hyper-tls",
-  "isahc 0.9.14",
-  "log 0.4.14",
- ]
-@@ -2356,6 +2281,7 @@ dependencies = [
-  "base64 0.13.0",
-  "cookie",
-  "futures-lite",
-+ "http 0.2.3",
-  "infer",
-  "pin-project-lite 0.2.4",
-  "rand 0.7.3",
-@@ -4930,21 +4856,6 @@ version = "1.0.0"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "194d8e591e405d1eecf28819740abed6d719d1a2db87fc0bcdedee9a26d55560"
- 
--[[package]]
--name = "ring"
--version = "0.16.20"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
--dependencies = [
-- "cc",
-- "libc",
-- "once_cell",
-- "spin",
-- "untrusted",
-- "web-sys",
-- "winapi 0.3.9",
--]
--
- [[package]]
- name = "roxmltree"
- version = "0.14.0"
-@@ -5066,19 +4977,6 @@ dependencies = [
-  "semver 0.9.0",
- ]
- 
--[[package]]
--name = "rustls"
--version = "0.18.1"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81"
--dependencies = [
-- "base64 0.12.3",
-- "log 0.4.14",
-- "ring",
-- "sct",
-- "webpki",
--]
--
- [[package]]
- name = "rustversion"
- version = "1.0.4"
-@@ -5209,16 +5107,6 @@ version = "1.1.0"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
- 
--[[package]]
--name = "sct"
--version = "0.6.0"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c"
--dependencies = [
-- "ring",
-- "untrusted",
--]
--
- [[package]]
- name = "security-framework"
- version = "2.0.0"
-@@ -5557,15 +5445,6 @@ dependencies = [
-  "libc",
- ]
- 
--[[package]]
--name = "simple-mutex"
--version = "1.1.5"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "38aabbeafa6f6dead8cebf246fe9fae1f9215c8d29b3a69f93bd62a9e4a3dcd6"
--dependencies = [
-- "event-listener",
--]
--
- [[package]]
- name = "siphasher"
- version = "0.3.3"
-@@ -5649,12 +5528,6 @@ dependencies = [
-  "winapi 0.3.9",
- ]
- 
--[[package]]
--name = "spin"
--version = "0.5.2"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
--
- [[package]]
- name = "spinning_top"
- version = "0.2.2"
-@@ -6201,16 +6074,6 @@ dependencies = [
-  "tokio-macros",
- ]
- 
--[[package]]
--name = "tokio"
--version = "1.2.0"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "e8190d04c665ea9e6b6a0dc45523ade572c088d2e6566244c1122671dbf4ae3a"
--dependencies = [
-- "autocfg",
-- "pin-project-lite 0.2.4",
--]
--
- [[package]]
- name = "tokio-codec"
- version = "0.1.2"
-@@ -6371,7 +6234,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89"
- dependencies = [
-  "crossbeam-deque 0.7.3",
-- "crossbeam-queue 0.2.3",
-+ "crossbeam-queue",
-  "crossbeam-utils 0.7.2",
-  "futures 0.1.30",
-  "lazy_static 1.4.0",
-@@ -6633,12 +6496,6 @@ dependencies = [
-  "subtle",
- ]
- 
--[[package]]
--name = "untrusted"
--version = "0.7.1"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
--
- [[package]]
- name = "url"
- version = "2.2.1"
-@@ -6903,25 +6760,6 @@ dependencies = [
-  "wasm-bindgen",
- ]
- 
--[[package]]
--name = "webpki"
--version = "0.21.4"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
--dependencies = [
-- "ring",
-- "untrusted",
--]
--
--[[package]]
--name = "webpki-roots"
--version = "0.20.0"
--source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "0f20dea7535251981a9670857150d571846545088359b28e4951d350bdaf179f"
--dependencies = [
-- "webpki",
--]
--
- [[package]]
- name = "weezl"
- version = "0.1.3"
-diff --git a/crates/nu_plugin_fetch/Cargo.toml b/crates/nu_plugin_fetch/Cargo.toml
-index ddb62e9e4..8c112e37c 100644
---- crates/nu_plugin_fetch/Cargo.toml
-+++ crates/nu_plugin_fetch/Cargo.toml
-@@ -16,7 +16,7 @@ nu-errors = { path = "../nu-errors", version = "0.28.0" }
- nu-plugin = { path = "../nu-plugin", version = "0.28.0" }
- nu-protocol = { path = "../nu-protocol", version = "0.28.0" }
- nu-source = { path = "../nu-source", version = "0.28.0" }
--surf = { version = "2.2.0", features = ["h1-client-rustls"] }
-+surf = { version = "2.2.0", features = ["hyper-client"] }
- url = "2.2.1"
- mime = "0.3.16"
- 
diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 1f699bc73d75..49a1ea9527ff 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,7 +1,7 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.28.0
-revision=2
+version=0.29.0
+revision=1
 build_style=cargo
 configure_args="--features=extra"
 hostmakedepends="pkg-config python3 libgit2-devel"
@@ -12,23 +12,11 @@ license="MIT"
 homepage="https://www.nushell.sh/"
 changelog="https://www.nushell.sh/blog/"
 distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
-checksum=aa6769f614a031ad33738064030d1c0d9ab500b2b0924adca71edacb1bd1d85d
+checksum=1572c5e48c7b460e1693eb4dd153902cfff9b5069abd05297b79563e6ffbf9f1
 register_shell="/usr/bin/nu"
 # all tests fail with argument --target
 make_check=no
 
-post_patch() {
-	# pull in updates for https://github.com/alkis/decimal
-	# the latest release (2.0.4) is missing fixes needed for
-	# platforms with unsigned char type; pin it to a specific
-	# revision until a new release is made
-	#
-	# remove this post_patch once that has happened
-	echo '[patch.crates-io.decimal]' >> Cargo.toml
-	echo 'git = "https://github.com/alkis/decimal"' >> Cargo.toml
-	echo 'rev = "c27d9a165afc55ec98fb4db79b12841df578387e"' >> Cargo.toml
-}
-
 post_install() {
 	vlicense LICENSE
 }

  reply	other threads:[~2021-03-30 23:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 22:51 [PR PATCH] " FollieHiyuki
2021-03-30 23:11 ` FollieHiyuki [this message]
2021-04-03  4:04 ` ericonr
2021-04-03  4:06 ` ericonr
2021-04-03  4:09 ` [PR PATCH] [Closed]: " ericonr

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=20210330231119.4Hl-GtxIxKbFqe6eRH4Tn4_tDth_ERnX20-AKV6WEuQ@z \
    --to=folliehiyuki@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).