rust-sccache: update to 0.3.3.

This commit is contained in:
icp 2022-12-09 01:48:54 +05:30 committed by classabbyamp
parent 8042f5432b
commit 508c1445b9
1 changed files with 2 additions and 8 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'rust-sccache'
pkgname=rust-sccache
version=0.3.1
version=0.3.3
revision=1
build_style=cargo
# fails in musl
@ -12,19 +12,13 @@ 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=10ee186f1d2f069ce3c62a2995b3cb50a6671b13d65dfbd35d3f62591040184d
checksum=6aae524ce9e447b7dbe9d43918827ede44d77591f820d843738d14b4f6195a4d
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
pre_build() {
# 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