Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] nushell: update to 0.26.0
@ 2021-01-30 18:33 FollieHiyuki
  2021-01-30 18:34 ` FollieHiyuki
                   ` (38 more replies)
  0 siblings, 39 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 18:33 UTC (permalink / raw)
  To: ml

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

There is a new pull request by FollieHiyuki against master on the void-packages repository

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 02608fd25aaeba52eaa3a877f0f899a3a03b15e9 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..a65bb8d5eb5 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,12 +1,7 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
 hostmakedepends="pkg-config"
 makedepends="libressl-devel"
@@ -15,8 +10,17 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://www.nushell.sh/"
 changelog="https://www.nushell.sh/blog/"
-distfiles="https://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64-*)
+	i686)
+		configure_args="--features=extra"
+		makedepends+=" libX11-devel libxcb-devel"
+esac
+
+do_check() { }
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
@ 2021-01-30 18:34 ` FollieHiyuki
  2021-01-30 18:37 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (37 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 18:34 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-770260808

Comment:
Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021) so I disable check for now.
Need investigation on arm. I have no idea why they fail

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
  2021-01-30 18:34 ` FollieHiyuki
@ 2021-01-30 18:37 ` FollieHiyuki
  2021-01-30 18:40 ` FollieHiyuki
                   ` (36 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 18:37 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From f9b03064ec7d5eb82995457e65408647335c7e88 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..cc39e2c2444 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,20 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
+configure_args="--features=extra"
 hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+makedepends="libressl-devel libX11-devel libxcb-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+
+do_check() { }
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
  2021-01-30 18:34 ` FollieHiyuki
  2021-01-30 18:37 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-01-30 18:40 ` FollieHiyuki
  2021-01-30 18:44 ` FollieHiyuki
                   ` (35 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 18:40 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 29751f94b0d768a35cb8474a52b40176a2638276 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..b12def88f13 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,21 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
+configure_args="--features=extra"
 hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+makedepends="libressl-devel libX11-devel libxcb-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+
+do_check() {
+}
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (2 preceding siblings ...)
  2021-01-30 18:40 ` FollieHiyuki
@ 2021-01-30 18:44 ` FollieHiyuki
  2021-01-30 18:45 ` FollieHiyuki
                   ` (34 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 18:44 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 0915b5ba2d9ac33e8ad2c763ddded43efd676477 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..f2fed1efe77 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,18 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
+configure_args="--features=extra"
 hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+makedepends="libressl-devel libX11-devel libxcb-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (3 preceding siblings ...)
  2021-01-30 18:44 ` FollieHiyuki
@ 2021-01-30 18:45 ` FollieHiyuki
  2021-01-30 18:47 ` FollieHiyuki
                   ` (33 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 18:45 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-770260808

Comment:
Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021).
Need investigation on arm. I have no idea why they fail

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (4 preceding siblings ...)
  2021-01-30 18:45 ` FollieHiyuki
@ 2021-01-30 18:47 ` FollieHiyuki
  2021-01-30 19:29 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (32 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 18:47 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-770260808

Comment:
Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021).
Need investigation on arm (should not be built with extra features for now). I have no idea why they fail

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (5 preceding siblings ...)
  2021-01-30 18:47 ` FollieHiyuki
@ 2021-01-30 19:29 ` FollieHiyuki
  2021-01-30 19:58 ` FollieHiyuki
                   ` (31 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 19:29 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 92e86be19a5353cdee0adde6d06f9854be965ec4 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..4eb9ad611fb 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,23 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
+configure_args="--features=extra"
 hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+makedepends="libressl-devel libX11-devel libxcb-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+
+case "$XBPS_TARGET_MACHINE" in
+	armv* | aarch64*)
+		hostmakedepends+=" python3"
+esac
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (6 preceding siblings ...)
  2021-01-30 19:29 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-01-30 19:58 ` FollieHiyuki
  2021-01-31  0:33 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (30 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-30 19:58 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-770260808

Comment:
Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021).
Need investigation on arm. I have no idea why they fail

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (7 preceding siblings ...)
  2021-01-30 19:58 ` FollieHiyuki
@ 2021-01-31  0:33 ` FollieHiyuki
  2021-02-04  5:40 ` ahesford
                   ` (29 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-01-31  0:33 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 8f76b84db232136682ab462a92918c9b9e97707c Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..9f9b89351aa 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,25 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
+configure_args="--features=extra"
 hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+makedepends="libressl-devel libX11-devel libxcb-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+register_shell="/bin/nu"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv* | aarch64*)
+		hostmakedepends+=" python3"
+		makedepends+=" zlib-devel"
+esac
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (8 preceding siblings ...)
  2021-01-31  0:33 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-02-04  5:40 ` ahesford
  2021-02-04  5:45 ` ericonr
                   ` (28 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ahesford @ 2021-02-04  5:40 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-773045084

Comment:
At least some of the cross-build issues may have been fixed by 2f5e5f1e5. You can try to rebuild for the failed archs; you *might* need to add `zlib-devel` to `hostmakedepends` *in addition* to `makedepends`. However, I did a quick test and found some type incompatibility errors (`i8` instead of `u8`) that seem to be unrelated, so this might require some more digging.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (9 preceding siblings ...)
  2021-02-04  5:40 ` ahesford
@ 2021-02-04  5:45 ` ericonr
  2021-02-04  5:47 ` ericonr
                   ` (27 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-04  5:45 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-773047030

Comment:
If nushell uses libgit deep down, the `zlib-devel` dependency is required because it's building a vendored in copy of libgit2, since our local one doesn't fullfill its version requirements. Please use `libgit2-devel` as a dependency, since that will pull in `zlib-devel`, which will fix the build while they use the vendored code, and automatically pick up the local version once our libgit2 package is updated.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (10 preceding siblings ...)
  2021-02-04  5:45 ` ericonr
@ 2021-02-04  5:47 ` ericonr
  2021-02-04  6:35 ` FollieHiyuki
                   ` (26 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-04  5:47 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-773047030

Comment:
If nushell uses libgit deep down, the `zlib-devel` dependency is required because it's building a vendored in copy of libgit2, since our local one doesn't fullfill its version requirements. Please use `libgit2-devel` as a dependency, since that will pull in `zlib-devel`, which will fix the build while they use the vendored code, and automatically pick up the local version once our libgit2 package is updated.

Regarding type errors, they probably picked up a crate which interfaces with some C library and are trying to interface with it using `i8` or `u8`, instead of using `libc::c_char` (or whatever that type is called). Since Rust is way too strict about signedness, this breaks the build. Chars have different standard signedness on x86 vs other platforms.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (11 preceding siblings ...)
  2021-02-04  5:47 ` ericonr
@ 2021-02-04  6:35 ` FollieHiyuki
  2021-02-04  6:55 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (25 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-04  6:35 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-773069390

Comment:
Yes cross build on aarch64-musl fails for me here with that "mismatched typed u8-i8"

There is https://github.com/nushell/nushell/issues/485#issuecomment-670517995 so maybe we should build nushell with default features only?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (12 preceding siblings ...)
  2021-02-04  6:35 ` FollieHiyuki
@ 2021-02-04  6:55 ` FollieHiyuki
  2021-02-04  6:58 ` FollieHiyuki
                   ` (24 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-04  6:55 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From c8707bcbea96df631d6caaec2447b9cf47130e30 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..4ebb04a050b 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,24 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+#configure_args="--features=extra"
+hostmakedepends="pkg-config libgit2-devel"
+makedepends="libressl-devel libgit2-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+register_shell="/bin/nu"
+
+do_check() {
+	# cargo tests fail with argument --target
+	:
+}
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (13 preceding siblings ...)
  2021-02-04  6:55 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-02-04  6:58 ` FollieHiyuki
  2021-02-04  8:15 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (23 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-04  6:58 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-773080344

Comment:
Cross build works with `default` feature.
I really like the `clipboard-cli` feature, so I'm thinking of `vsed` Cargo.toml to omit `binaryview` and `bson` features on cross to make build work instead

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (14 preceding siblings ...)
  2021-02-04  6:58 ` FollieHiyuki
@ 2021-02-04  8:15 ` FollieHiyuki
  2021-02-06  5:40 ` ericonr
                   ` (22 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-04  8:15 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 058e3319a79c69bef2620fffbcfc20d3d81d3a18 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

---
 srcpkgs/nushell/template | 33 +++++++++++++++++++++++----------
 1 file changed, 23 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..6daf1322252 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,35 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+configure_args="--features=extra"
+hostmakedepends="pkg-config libgit2-devel"
+makedepends="libressl-devel libX11-devel libxcb-devel libgit2-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+register_shell="/bin/nu"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv* | aarch64*)
+		hostmakedepends+=" python3" ;;
+esac
+
+pre_build() {
+	case "$XBPS_TARGET_MACHINE" in
+		armv* | aarch64*)
+			vsed -i '91s/"bson", //' Cargo.toml ;;
+	esac
+}
+
+do_check() {
+	: # cargo tests fail with argument --target
+}
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (15 preceding siblings ...)
  2021-02-04  8:15 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-02-06  5:40 ` ericonr
  2021-02-06  6:42 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (21 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-06  5:40 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-774404871

Comment:
Please explain what you are doing in the commit message, because I can't understand it at all. ahesford and I managed to fix most of the recent rust cross build issues, it should build without such deep changes...

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (16 preceding siblings ...)
  2021-02-06  5:40 ` ericonr
@ 2021-02-06  6:42 ` FollieHiyuki
  2021-02-06  6:47 ` FollieHiyuki
                   ` (20 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-06  6:42 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 23fade3d89e2bb5069656df5ea778b9629f4db6c Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

Also enable extra features
The "bson" feature is reported to not build successfully on arm,
so it is disabled
---
 srcpkgs/nushell/template | 34 ++++++++++++++++++++++++----------
 1 file changed, 24 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..efecb2b25a9 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,36 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+configure_args="--features=extra"
+hostmakedepends="pkg-config libgit2-devel"
+makedepends="libressl-devel libX11-devel libxcb-devel libgit2-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+register_shell="/bin/nu"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv* | aarch64*)
+		hostmakedepends+=" python3" ;;
+esac
+
+pre_build() {
+	# bson feature doesn't build on ARM
+	case "$XBPS_TARGET_MACHINE" in
+		armv* | aarch64*)
+			vsed -i '91s/"bson", //' Cargo.toml ;;
+	esac
+}
+
+do_check() {
+	: # cargo tests fail with argument --target
+}
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (17 preceding siblings ...)
  2021-02-06  6:42 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-02-06  6:47 ` FollieHiyuki
  2021-02-06  6:50 ` FollieHiyuki
                   ` (19 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-06  6:47 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-774412012

Comment:
> There is [nushell/nushell#485 (comment)](https://github.com/nushell/nushell/issues/485#issuecomment-670517995) so maybe we should build nushell with default features only?

As reported here the `bson` feature doesn't build on arm. Otherwise it will build without any intervention like you would expect

> Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021).

Tests are currently disabled because of this. 

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (18 preceding siblings ...)
  2021-02-06  6:47 ` FollieHiyuki
@ 2021-02-06  6:50 ` FollieHiyuki
  2021-02-06  6:54 ` FollieHiyuki
                   ` (18 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-06  6:50 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-774412012

Comment:
> There is [nushell/nushell#485 (comment)](https://github.com/nushell/nushell/issues/485#issuecomment-670517995) so maybe we should build nushell with default features only?

As reported here the `bson` feature doesn't build on arm. Otherwise it will build without any intervention like you would expect.
The `vsed` command just deletes `bson` from the `extra` feature set, so that when we build with --feature=extra the `bson` feature will not get picked up

> Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021).

Tests are currently disabled because of this. 

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (19 preceding siblings ...)
  2021-02-06  6:50 ` FollieHiyuki
@ 2021-02-06  6:54 ` FollieHiyuki
  2021-02-06  7:01 ` FollieHiyuki
                   ` (17 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-06  6:54 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-774412012

Comment:
> There is [nushell/nushell#485 (comment)](https://github.com/nushell/nushell/issues/485#issuecomment-670517995) so maybe we should build nushell with default features only?

As reported here the `bson` feature of nushell doesn't build on arm. Otherwise it will build without any intervention like you would expect (the problem is not rust, but in extra features of nushell)
The `vsed` command just deletes `bson` from the `extra` feature set, so that when we build with --feature=extra the `bson` feature will not get picked up

> Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021).

Tests are currently disabled because of this. 

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (20 preceding siblings ...)
  2021-02-06  6:54 ` FollieHiyuki
@ 2021-02-06  7:01 ` FollieHiyuki
  2021-02-06  7:02 ` FollieHiyuki
                   ` (16 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-06  7:01 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-773080344

Comment:
Cross build works with `default` feature.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (21 preceding siblings ...)
  2021-02-06  7:01 ` FollieHiyuki
@ 2021-02-06  7:02 ` FollieHiyuki
  2021-02-06  7:10 ` FollieHiyuki
                   ` (15 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-06  7:02 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-774412012

Comment:
> There is [nushell/nushell#485 (comment)](https://github.com/nushell/nushell/issues/485#issuecomment-670517995) so maybe we should build nushell with default features only?

As reported here the `bson` feature of nushell (not a part of default feature set) doesn't build on arm. Otherwise it will build without any intervention like you would expect (the problem is not rust, but in extra features of nushell)
The `vsed` command just deletes `bson` from the `extra` feature set, so that when we build with --feature=extra the `bson` feature will not get picked up

> Build passes on x86_64-* with failed tests (expected, see nushell/nushell#2021).

Tests are currently disabled because of this. 

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (22 preceding siblings ...)
  2021-02-06  7:02 ` FollieHiyuki
@ 2021-02-06  7:10 ` FollieHiyuki
  2021-02-14 21:26 ` ericonr
                   ` (14 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-06  7:10 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-774415702

Comment:
A cleaner template with only `default` feature set works with cross build
```
# Template file for 'nushell'
pkgname=nushell
version=0.26.0
revision=1
build_style=cargo
hostmakedepends="pkg-config libgit2-devel"
makedepends="libressl-devel libgit2-devel"
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/${version}.tar.gz"
checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
register_shell="/bin/nu"

do_check() {
	: # cargo tests fail with argument --target
}

post_install() {
	vlicense LICENSE
}
```

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (23 preceding siblings ...)
  2021-02-06  7:10 ` FollieHiyuki
@ 2021-02-14 21:26 ` ericonr
  2021-02-14 23:17 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (13 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-14 21:26 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-778844491

Comment:
I'd prefer to stick with the simplest template, yeah... Or pass `--features-extra` only for the x86 builds.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (24 preceding siblings ...)
  2021-02-14 21:26 ` ericonr
@ 2021-02-14 23:17 ` FollieHiyuki
  2021-02-15 18:40 ` FollieHiyuki
                   ` (12 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-14 23:17 UTC (permalink / raw)
  To: ml

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

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

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

[WIP] nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From ee56a35aae10bcc7d290cb63f42ff66d634028af Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

Also enable extra features for x86_64* and i686*
---
 srcpkgs/nushell/template | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..ff8fe2fbeb6 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,28 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+hostmakedepends="pkg-config libgit2-devel"
+makedepends="libressl-devel libgit2-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+register_shell="/bin/nu"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64* | i686*)
+		configure_args="--features=extra"
+		makedepends+=" libX11-devel libxcb-devel" ;;
+esac
+
+do_check() {
+	: # cargo test fails with argument --target
+}
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [WIP] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (25 preceding siblings ...)
  2021-02-14 23:17 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-02-15 18:40 ` FollieHiyuki
  2021-02-15 18:53 ` ericonr
                   ` (11 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-15 18:40 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-779393355

Comment:
Should I use `make_check=no`. `xlint` isn't happy when I added it locally to my template

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (26 preceding siblings ...)
  2021-02-15 18:40 ` FollieHiyuki
@ 2021-02-15 18:53 ` ericonr
  2021-02-16  6:27 ` [PR REVIEW] " ericonr
                   ` (10 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-15 18:53 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-779398580

Comment:
It's been fixed in xlint master, will be available locally when a release is tagged :)

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR REVIEW] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (27 preceding siblings ...)
  2021-02-15 18:53 ` ericonr
@ 2021-02-16  6:27 ` ericonr
  2021-02-16  6:27 ` ericonr
                   ` (9 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-16  6:27 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#discussion_r576575354

Comment:
```suggestion
	x86_64*|i686*)
```

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR REVIEW] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (28 preceding siblings ...)
  2021-02-16  6:27 ` [PR REVIEW] " ericonr
@ 2021-02-16  6:27 ` ericonr
  2021-02-16  6:27 ` ericonr
                   ` (8 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-16  6:27 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#discussion_r576575502

Comment:
Register `/usr/bin/nu` as well (preferrably only) for usrmerge. Do you think people are likely to use as login shell?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR REVIEW] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (29 preceding siblings ...)
  2021-02-16  6:27 ` ericonr
@ 2021-02-16  6:27 ` ericonr
  2021-02-16 11:33 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (7 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-16  6:27 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#discussion_r576575289

Comment:
Is this definitely because of arch and not due to being crossbuilds?

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (30 preceding siblings ...)
  2021-02-16  6:27 ` ericonr
@ 2021-02-16 11:33 ` FollieHiyuki
  2021-02-16 11:38 ` [PR REVIEW] " FollieHiyuki
                   ` (6 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-16 11:33 UTC (permalink / raw)
  To: ml

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

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

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

nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 5645ccacec9ad7e186c497c1ce042b81f5642a30 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.26.0

Also enable extra features for x86_64* and i686*
---
 srcpkgs/nushell/template | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..33f436c54b3 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,26 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.26.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+hostmakedepends="pkg-config libgit2-devel"
+makedepends="libressl-devel libgit2-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=66fbfe1297997a3f6b2181cd723816150ad2453527c7cab6c83a9c67b9af2478
+register_shell="/usr/bin/nu"
+# all tests fail with argument --target
+make_check=no
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*|i686*)
+		configure_args="--features=extra"
+		makedepends+=" libX11-devel libxcb-devel" ;;
+esac
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR REVIEW] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (31 preceding siblings ...)
  2021-02-16 11:33 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-02-16 11:38 ` FollieHiyuki
  2021-02-16 11:41 ` FollieHiyuki
                   ` (5 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-16 11:38 UTC (permalink / raw)
  To: ml

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

New review comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#discussion_r576757713

Comment:
Yes. You can check the issue I linked above.
The "extra" feature set has `bson` that will not build on arm, and crate `xcb` needs `python` as dependency.
Crossbuilds work, but it will complicate the template (like previous commit)

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR REVIEW] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (32 preceding siblings ...)
  2021-02-16 11:38 ` [PR REVIEW] " FollieHiyuki
@ 2021-02-16 11:41 ` FollieHiyuki
  2021-02-16 11:42 ` FollieHiyuki
                   ` (4 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-16 11:41 UTC (permalink / raw)
  To: ml

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

New review comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#discussion_r576759328

Comment:
I only use nu occasionally. I can't tell.
I have basic usage for this package, and it works fine for me (with that level of usage) for a few months, so for people like me using it as default shell is not too problematic.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR REVIEW] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (33 preceding siblings ...)
  2021-02-16 11:41 ` FollieHiyuki
@ 2021-02-16 11:42 ` FollieHiyuki
  2021-02-16 17:43 ` [PR PATCH] [Updated] " FollieHiyuki
                   ` (3 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-16 11:42 UTC (permalink / raw)
  To: ml

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

New review comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#discussion_r576757713

Comment:
Yes. You can check the issue I linked above.
The "extra" feature set has `bson` that will not build on arm, and crate `xcb` needs `python` as dependency.
Crossbuilds work, but it will complicate the template (like previous commit)
This is the problem on `nushell` side, not our crossbuild.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Updated] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (34 preceding siblings ...)
  2021-02-16 11:42 ` FollieHiyuki
@ 2021-02-16 17:43 ` FollieHiyuki
  2021-02-16 17:45 ` FollieHiyuki
                   ` (2 subsequent siblings)
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-16 17:43 UTC (permalink / raw)
  To: ml

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

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

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

nushell: update to 0.26.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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


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

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

From 4bdcf022e93308efe5ca4d1625b14156f0d21ee1 Mon Sep 17 00:00:00 2001
From: FollieHiyuki <folliekazetani@protonmail.com>
Date: Sat, 30 Jan 2021 21:29:13 +0300
Subject: [PATCH] nushell: update to 0.27.0

Also enable extra features for x86_64* and i686*
---
 srcpkgs/nushell/template | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/nushell/template b/srcpkgs/nushell/template
index 843eda01b71..f42cd9776ee 100644
--- a/srcpkgs/nushell/template
+++ b/srcpkgs/nushell/template
@@ -1,22 +1,26 @@
 # Template file for 'nushell'
 pkgname=nushell
-version=0.21.0
+version=0.27.0
 revision=1
-# raw-cpuid does not support other archs
-# https://github.com/nushell/nushell/issues/485
-# remove when the issue is fixed (should fix all archs)
-archs="x86_64* i686*"
-wrksrc="nu-${version}"
 build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="libressl-devel"
+hostmakedepends="pkg-config libgit2-devel"
+makedepends="libressl-devel libgit2-devel"
 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://static.crates.io/crates/nu/nu-${version}.crate"
-checksum=44b0dc4127433373d6ce1b5ba50c56780f23b861654fce3b48d5b599758e772c
+distfiles="https://github.com/nushell/nushell/archive/${version}.tar.gz"
+checksum=0d086c660af2e6e286fcac0d0063607bd302961ba542a087145f6a3948fd7130
+register_shell="/usr/bin/nu"
+# all tests fail with argument --target
+make_check=no
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*|i686*)
+		configure_args="--features=extra"
+		makedepends+=" libX11-devel libxcb-devel" ;;
+esac
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (35 preceding siblings ...)
  2021-02-16 17:43 ` [PR PATCH] [Updated] " FollieHiyuki
@ 2021-02-16 17:45 ` FollieHiyuki
  2021-02-16 17:56 ` [PR REVIEW] " FollieHiyuki
  2021-02-16 18:11 ` [PR PATCH] [Merged]: " ericonr
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-16 17:45 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#issuecomment-780006370

Comment:
0.27.0 just came out

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR REVIEW] nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (36 preceding siblings ...)
  2021-02-16 17:45 ` FollieHiyuki
@ 2021-02-16 17:56 ` FollieHiyuki
  2021-02-16 18:11 ` [PR PATCH] [Merged]: " ericonr
  38 siblings, 0 replies; 40+ messages in thread
From: FollieHiyuki @ 2021-02-16 17:56 UTC (permalink / raw)
  To: ml

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

New review comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/pull/28341#discussion_r577023941

Comment:
There is a big pinned issue nushell/nushell#261, most features there are done I believe, so I guess it's safe to be used as a login shell

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [PR PATCH] [Merged]: nushell: update to 0.26.0
  2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
                   ` (37 preceding siblings ...)
  2021-02-16 17:56 ` [PR REVIEW] " FollieHiyuki
@ 2021-02-16 18:11 ` ericonr
  38 siblings, 0 replies; 40+ messages in thread
From: ericonr @ 2021-02-16 18:11 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

nushell: update to 0.26.0
https://github.com/void-linux/void-packages/pull/28341

Description:
<!-- 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?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] 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
-->


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2021-02-16 18:11 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-30 18:33 [PR PATCH] [WIP] nushell: update to 0.26.0 FollieHiyuki
2021-01-30 18:34 ` FollieHiyuki
2021-01-30 18:37 ` [PR PATCH] [Updated] " FollieHiyuki
2021-01-30 18:40 ` FollieHiyuki
2021-01-30 18:44 ` FollieHiyuki
2021-01-30 18:45 ` FollieHiyuki
2021-01-30 18:47 ` FollieHiyuki
2021-01-30 19:29 ` [PR PATCH] [Updated] " FollieHiyuki
2021-01-30 19:58 ` FollieHiyuki
2021-01-31  0:33 ` [PR PATCH] [Updated] " FollieHiyuki
2021-02-04  5:40 ` ahesford
2021-02-04  5:45 ` ericonr
2021-02-04  5:47 ` ericonr
2021-02-04  6:35 ` FollieHiyuki
2021-02-04  6:55 ` [PR PATCH] [Updated] " FollieHiyuki
2021-02-04  6:58 ` FollieHiyuki
2021-02-04  8:15 ` [PR PATCH] [Updated] " FollieHiyuki
2021-02-06  5:40 ` ericonr
2021-02-06  6:42 ` [PR PATCH] [Updated] " FollieHiyuki
2021-02-06  6:47 ` FollieHiyuki
2021-02-06  6:50 ` FollieHiyuki
2021-02-06  6:54 ` FollieHiyuki
2021-02-06  7:01 ` FollieHiyuki
2021-02-06  7:02 ` FollieHiyuki
2021-02-06  7:10 ` FollieHiyuki
2021-02-14 21:26 ` ericonr
2021-02-14 23:17 ` [PR PATCH] [Updated] " FollieHiyuki
2021-02-15 18:40 ` FollieHiyuki
2021-02-15 18:53 ` ericonr
2021-02-16  6:27 ` [PR REVIEW] " ericonr
2021-02-16  6:27 ` ericonr
2021-02-16  6:27 ` ericonr
2021-02-16 11:33 ` [PR PATCH] [Updated] " FollieHiyuki
2021-02-16 11:38 ` [PR REVIEW] " FollieHiyuki
2021-02-16 11:41 ` FollieHiyuki
2021-02-16 11:42 ` FollieHiyuki
2021-02-16 17:43 ` [PR PATCH] [Updated] " FollieHiyuki
2021-02-16 17:45 ` FollieHiyuki
2021-02-16 17:56 ` [PR REVIEW] " FollieHiyuki
2021-02-16 18:11 ` [PR PATCH] [Merged]: " ericonr

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).