mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
maturin: update to 0.11.1.
This commit is contained in:
parent
fb2a2ea3f8
commit
f5ea64bedd
1 changed files with 13 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'maturin'
|
# Template file for 'maturin'
|
||||||
pkgname=maturin
|
pkgname=maturin
|
||||||
version=0.11.0
|
version=0.11.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
build_helper=qemu
|
||||||
# Disable the 'rustls' feature, which leads to bad platform compatibility
|
# Disable the 'rustls' feature, which leads to bad platform compatibility
|
||||||
# The list of enabled features should be reconciled with each new release
|
# The list of enabled features should be reconciled with each new release
|
||||||
configure_args="--no-default-features --features log,upload,human-panic"
|
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
|
# 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="e7ed8559b3d9ac872b6633bb2e11c91aad69d7399568a300cbf2c3d2f97c7d2a
|
checksum="61ce51df22f0b30fe7030fac0161d81c88ea24ab53ffc066842cd6e7536059ed
|
||||||
18fead54e5dfa2cb0fa8af3db3c2765ca1c003b20cd4eca7be0553b30ce229de"
|
18fead54e5dfa2cb0fa8af3db3c2765ca1c003b20cd4eca7be0553b30ce229de"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
@ -33,6 +34,12 @@ post_patch() {
|
||||||
post_build() {
|
post_build() {
|
||||||
# python package is pure; the cross environment is not relevant
|
# python package is pure; the cross environment is not relevant
|
||||||
python3 setup.py build
|
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() {
|
do_check() {
|
||||||
|
@ -42,4 +49,8 @@ do_check() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense license-mit LICENSE-MIT
|
vlicense license-mit LICENSE-MIT
|
||||||
python3 setup.py install --prefix=/usr --root=${DESTDIR}
|
python3 setup.py install --prefix=/usr --root=${DESTDIR}
|
||||||
|
|
||||||
|
vcompletion maturin.zsh zsh
|
||||||
|
vcompletion maturin.fish fish
|
||||||
|
vcompletion maturin.bash bash
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue