From 421ffc6b4163004300802acf4cbd4f55f3a32f51 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 23 Nov 2022 11:02:33 -0500 Subject: [PATCH] maturin: update to 0.14.1. --- srcpkgs/maturin/template | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template index a8cfc52a661..04b33dff2cf 100644 --- a/srcpkgs/maturin/template +++ b/srcpkgs/maturin/template @@ -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 " 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() {