Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rust-sccache: update to 0.3.1.
@ 2022-11-25  6:35 icp1994
  2022-11-25  7:01 ` [PR PATCH] [Updated] " icp1994
  2022-11-25  8:27 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2022-11-25  6:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages rust-sccache
https://github.com/void-linux/void-packages/pull/40750

rust-sccache: update to 0.3.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

supersedes https://github.com/void-linux/void-packages/pull/39767

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

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

From 65f085e7b6a23e1ee39ec551109d54ca744f2a2b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 24 Nov 2022 22:12:06 +0530
Subject: [PATCH] rust-sccache: update to 0.3.1.

---
 srcpkgs/rust-sccache/template | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/rust-sccache/template b/srcpkgs/rust-sccache/template
index e902b6f4ca24..f60135dea093 100644
--- a/srcpkgs/rust-sccache/template
+++ b/srcpkgs/rust-sccache/template
@@ -1,7 +1,7 @@
 # Template file for 'rust-sccache'
 pkgname=rust-sccache
-version=0.2.13
-revision=3
+version=0.3.1
+revision=1
 build_style=cargo
 hostmakedepends="pkg-config"
 makedepends="openssl-devel"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://crates.io/crates/sccache"
 distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate"
-checksum=34b8eaab25eb467e9796c2f3ad7524c8548bf3afed962a922dd0b40ed2472ef7
+checksum=10ee186f1d2f069ce3c62a2995b3cb50a6671b13d65dfbd35d3f62591040184d
 
 case "$XBPS_TARGET_MACHINE" in
 	x86_64*|i686*|arm*|aarch64*) ;;
@@ -18,6 +18,12 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 pre_build() {
-	# fixes an indexmap error when cross compiling
-	cargo update --package autocfg:0.1.7 --precise 0.1.8
+	# fixes the usage of yanked versions of crates
+	cargo update --package cpufeatures:0.2.1 --precise 0.2.5
+	cargo update --package textwrap:0.15.1 --precise 0.15.2
+}
+
+pre_check() {
+	# tries to spawn /usr/bin/cargo and fails
+	rm -f tests/sccache_cargo.rs
 }

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

* Re: [PR PATCH] [Updated] rust-sccache: update to 0.3.1.
  2022-11-25  6:35 [PR PATCH] rust-sccache: update to 0.3.1 icp1994
@ 2022-11-25  7:01 ` icp1994
  2022-11-25  8:27 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2022-11-25  7:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages rust-sccache
https://github.com/void-linux/void-packages/pull/40750

rust-sccache: update to 0.3.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

supersedes https://github.com/void-linux/void-packages/pull/39767

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

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

From 826400b4b18b70a2dd155c8e11d3d8a817776716 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 24 Nov 2022 22:12:06 +0530
Subject: [PATCH] rust-sccache: update to 0.3.1.

---
 srcpkgs/rust-sccache/template | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/rust-sccache/template b/srcpkgs/rust-sccache/template
index e902b6f4ca24..b4a8322340b4 100644
--- a/srcpkgs/rust-sccache/template
+++ b/srcpkgs/rust-sccache/template
@@ -1,8 +1,10 @@
 # Template file for 'rust-sccache'
 pkgname=rust-sccache
-version=0.2.13
-revision=3
+version=0.3.1
+revision=1
 build_style=cargo
+# fails in musl
+make_check_args="-- --skip dist::pkg::toolchain_imp::test_ldd_parse_v2_30"
 hostmakedepends="pkg-config"
 makedepends="openssl-devel"
 short_desc="Sccache is a ccache-like tool"
@@ -10,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://crates.io/crates/sccache"
 distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate"
-checksum=34b8eaab25eb467e9796c2f3ad7524c8548bf3afed962a922dd0b40ed2472ef7
+checksum=10ee186f1d2f069ce3c62a2995b3cb50a6671b13d65dfbd35d3f62591040184d
 
 case "$XBPS_TARGET_MACHINE" in
 	x86_64*|i686*|arm*|aarch64*) ;;
@@ -18,6 +20,12 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 pre_build() {
-	# fixes an indexmap error when cross compiling
-	cargo update --package autocfg:0.1.7 --precise 0.1.8
+	# fixes the usage of yanked versions of crates
+	cargo update --package cpufeatures:0.2.1 --precise 0.2.5
+	cargo update --package textwrap:0.15.1 --precise 0.15.2
+}
+
+pre_check() {
+	# tries to spawn /usr/bin/cargo and fails
+	rm -f tests/sccache_cargo.rs
 }

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

* Re: [PR PATCH] [Merged]: rust-sccache: update to 0.3.1.
  2022-11-25  6:35 [PR PATCH] rust-sccache: update to 0.3.1 icp1994
  2022-11-25  7:01 ` [PR PATCH] [Updated] " icp1994
@ 2022-11-25  8:27 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-11-25  8:27 UTC (permalink / raw)
  To: ml

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

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

rust-sccache: update to 0.3.1.
https://github.com/void-linux/void-packages/pull/40750

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

supersedes https://github.com/void-linux/void-packages/pull/39767

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

end of thread, other threads:[~2022-11-25  8:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-25  6:35 [PR PATCH] rust-sccache: update to 0.3.1 icp1994
2022-11-25  7:01 ` [PR PATCH] [Updated] " icp1994
2022-11-25  8:27 ` [PR PATCH] [Merged]: " classabbyamp

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