maturin: update to 0.14.1.

This commit is contained in:
Andrew J. Hesford 2022-11-23 11:02:33 -05:00
parent 624fc9cc0b
commit 421ffc6b41

View file

@ -1,6 +1,6 @@
# Template file for 'maturin'
pkgname=maturin
version=0.13.7
version=0.14.1
revision=1
create_wrksrc=yes
build_style=python3-module
@ -13,10 +13,11 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0, MIT"
homepage="https://github.com/PyO3/maturin"
# bump target-lexicon version if it changes in Cargo.lock
_tlver="0.12.5"
distfiles="${homepage}/archive/v${version}.tar.gz
https://github.com/bytecodealliance/target-lexicon/archive/v0.12.4.tar.gz>target-lexicon-${version}.tar.gz"
checksum="8a30a01efc35f301a97e18718631d406144a8cddb91a7ba4485b0f45e8e27af0
f801dbb02555852e90d56d5a71e73ee42678c1bc583bb62a2970d4158f6ab6de"
https://github.com/bytecodealliance/target-lexicon/archive/v${_tlver}.tar.gz>target-lexicon-${_tlver}.tar.gz"
checksum="3a15ebdb8780a4db1603c887c5bc4ba8aa689bbf6914d8d9852d05ec57e2464c
efc488676998ea73d107b0c2632cc71baff91b5ea95abb6064b48a09edc233f9"
# Tests use unstable features and fail to build
make_check=no
@ -32,8 +33,8 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_extract() {
mv maturin-${version}/* .
mv target-lexicon-* target-lexicon
mv "maturin-${version}"/* .
mv "target-lexicon-${_tlver}" target-lexicon
echo "[patch.crates-io]" >> Cargo.toml
echo "target-lexicon = { path = './target-lexicon' }" >> Cargo.toml
}
@ -44,7 +45,7 @@ post_patch() {
}
pre_configure() {
cargo update --package target-lexicon
cargo update --package target-lexicon --precise "${_tlver}"
}
post_install() {