maturin: update to 0.11.0.

This commit is contained in:
Andrew J. Hesford 2021-07-06 09:49:21 -04:00
parent 756bb6f4b9
commit ead8384ec7
2 changed files with 5 additions and 5 deletions

View file

@ -51,13 +51,13 @@ diff -ur src/target.rs src/target.rs
}; };
@@ -200,7 +208,7 @@ @@ -200,7 +208,7 @@
/// Returns the default Manylinux tag for this architecture /// Returns the default Manylinux tag for this architecture
pub fn get_default_manylinux_tag(&self) -> Manylinux { pub fn get_default_manylinux_tag(&self) -> PlatformTag {
match self.arch { match self.arch {
- Arch::Aarch64 | Arch::Armv7L | Arch::Powerpc64 | Arch::Powerpc64Le | Arch::S390X => { - Arch::Aarch64 | Arch::Armv7L | Arch::Powerpc64 | Arch::Powerpc64Le | Arch::S390X => {
+ Arch::Aarch64 | Arch::Armv7L | Arch::Powerpc64 | Arch::Powerpc64Le | Arch::PowerpcLe | Arch::Powerpc | Arch::S390X => { + Arch::Aarch64 | Arch::Armv7L | Arch::Powerpc64 | Arch::Powerpc64Le | Arch::PowerpcLe | Arch::Powerpc | Arch::S390X => {
Manylinux::manylinux2014() PlatformTag::manylinux2014()
} }
Arch::X86 | Arch::X86_64 => Manylinux::manylinux2010(), Arch::X86 | Arch::X86_64 => PlatformTag::manylinux2010(),
@@ -214,6 +222,8 @@ @@ -214,6 +222,8 @@
Arch::Armv7L => 32, Arch::Armv7L => 32,
Arch::Powerpc64 => 64, Arch::Powerpc64 => 64,

View file

@ -1,6 +1,6 @@
# Template file for 'maturin' # Template file for 'maturin'
pkgname=maturin pkgname=maturin
version=0.10.6 version=0.11.0
revision=1 revision=1
build_style=cargo build_style=cargo
# Disable the 'rustls' feature, which leads to bad platform compatibility # Disable the 'rustls' feature, which leads to bad platform compatibility
@ -16,7 +16,7 @@ homepage="https://github.com/PyO3/maturin"
# bump target-lexicon version if it changes in Cargo.lock # bump target-lexicon version if it changes in Cargo.lock
distfiles="${homepage}/archive/v${version}.tar.gz distfiles="${homepage}/archive/v${version}.tar.gz
https://github.com/bytecodealliance/target-lexicon/archive/v0.12.0.tar.gz" https://github.com/bytecodealliance/target-lexicon/archive/v0.12.0.tar.gz"
checksum="e6a9a67cc62ffe248654e60e7ec211bf23319c4c936ad87022f7a1fd0997430d checksum="e7ed8559b3d9ac872b6633bb2e11c91aad69d7399568a300cbf2c3d2f97c7d2a
18fead54e5dfa2cb0fa8af3db3c2765ca1c003b20cd4eca7be0553b30ce229de" 18fead54e5dfa2cb0fa8af3db3c2765ca1c003b20cd4eca7be0553b30ce229de"
post_extract() { post_extract() {