From f5ea64bedd8ff206f4d78100cf288ca9a89465c6 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 13 Jul 2021 12:50:32 -0400 Subject: [PATCH] maturin: update to 0.11.1. --- srcpkgs/maturin/template | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template index e9b3b5a97b2..2212ee68357 100644 --- a/srcpkgs/maturin/template +++ b/srcpkgs/maturin/template @@ -1,8 +1,9 @@ # Template file for 'maturin' pkgname=maturin -version=0.11.0 +version=0.11.1 revision=1 build_style=cargo +build_helper=qemu # Disable the 'rustls' feature, which leads to bad platform compatibility # The list of enabled features should be reconciled with each new release configure_args="--no-default-features --features log,upload,human-panic" @@ -16,7 +17,7 @@ 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.0.tar.gz" -checksum="e7ed8559b3d9ac872b6633bb2e11c91aad69d7399568a300cbf2c3d2f97c7d2a +checksum="61ce51df22f0b30fe7030fac0161d81c88ea24ab53ffc066842cd6e7536059ed 18fead54e5dfa2cb0fa8af3db3c2765ca1c003b20cd4eca7be0553b30ce229de" post_extract() { @@ -33,6 +34,12 @@ post_patch() { post_build() { # python package is pure; the cross environment is not relevant python3 setup.py build + + # Generate some completions + _matbin="target/${RUST_TARGET}/release/maturin" + vtargetrun "${_matbin}" completions zsh > maturin.zsh + vtargetrun "${_matbin}" completions fish > maturin.fish + vtargetrun "${_matbin}" completions bash > maturin.bash } do_check() { @@ -42,4 +49,8 @@ do_check() { post_install() { vlicense license-mit LICENSE-MIT python3 setup.py install --prefix=/usr --root=${DESTDIR} + + vcompletion maturin.zsh zsh + vcompletion maturin.fish fish + vcompletion maturin.bash bash }