maturin: update to 0.11.3.

This commit is contained in:
Andrew J. Hesford 2021-08-25 15:17:54 -04:00
parent be6392e704
commit 56fe2bfeaa
2 changed files with 18 additions and 8 deletions

View File

@ -67,3 +67,15 @@ diff -ur src/target.rs src/target.rs
Arch::X86 => 32,
Arch::X86_64 => 64,
Arch::S390X => 64,
diff -ur src/auditwheel/audit.rs src/auditwheel/audit.rs
--- a/src/auditwheel/audit.rs
+++ b/src/auditwheel/audit.rs
@@ -278,6 +278,8 @@
Arch::Armv7L => "libc.musl-armv7.so.1",
Arch::Powerpc64Le => "libc.musl-ppc64le.so.1",
Arch::Powerpc64 => "", // musllinux doesn't support ppc64
+ Arch::PowerpcLe => "", // musllinux doesn't support ppcle
+ Arch::Powerpc => "", // musllinux doesn't support ppc
Arch::X86 => "libc.musl-x86.so.1",
Arch::X86_64 => "libc.musl-x86_64.so.1",
Arch::S390X => "libc.musl-s390x.so.1",

View File

@ -1,6 +1,6 @@
# Template file for 'maturin'
pkgname=maturin
version=0.11.2
version=0.11.3
revision=1
build_style=cargo
build_helper=qemu
@ -16,9 +16,11 @@ license="Apache-2.0, MIT"
homepage="https://github.com/PyO3/maturin"
# bump target-lexicon version if it changes in Cargo.lock
distfiles="${homepage}/archive/v${version}.tar.gz
https://github.com/bytecodealliance/target-lexicon/archive/v0.12.1.tar.gz"
checksum="4c37b25c327fedf46c0b0833d0e8a5c69e9edcdfeb5b6c946b94198001044f1d
0d9843a39228a70c05d4f6ebb1bc8c36900176ed71e40a410a4ef0f99fe510fe"
https://github.com/bytecodealliance/target-lexicon/archive/v0.12.2.tar.gz"
checksum="e65864a36be44456da0f9174de12fe3ea02bb87a968b5333ace3b122869dd6b2
b6c2ddab7498cf6eab8e637a5b7895f3170b2f9ef989861d1ff33af6c8459b27"
# Tests use unstable features and fail to build
make_check=no
post_extract() {
mv ../target-lexicon* target-lexicon
@ -42,10 +44,6 @@ post_build() {
vtargetrun "${_matbin}" completions bash > maturin.bash
}
do_check() {
echo "Tests use unstable features and fail to build; skipping"
}
post_install() {
vlicense license-mit LICENSE-MIT
python3 setup.py install --prefix=/usr --root=${DESTDIR}