From f15bf983d0638e1e6d3846e1dc831a3a01a553c1 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 17 Nov 2022 11:01:15 -0500 Subject: [PATCH] maturin: update to 0.13.7. --- srcpkgs/maturin/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template index d2aeea0281e..a8cfc52a661 100644 --- a/srcpkgs/maturin/template +++ b/srcpkgs/maturin/template @@ -1,7 +1,7 @@ # Template file for 'maturin' pkgname=maturin -version=0.13.6 -revision=2 +version=0.13.7 +revision=1 create_wrksrc=yes build_style=python3-module build_helper="qemu rust" @@ -15,7 +15,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.4.tar.gz>target-lexicon-${version}.tar.gz" -checksum="b29b8262ae2df0daa39cc2c04409ad062eb6f547887a9e1237b6d0ab81888845 +checksum="8a30a01efc35f301a97e18718631d406144a8cddb91a7ba4485b0f45e8e27af0 f801dbb02555852e90d56d5a71e73ee42678c1bc583bb62a2970d4158f6ab6de" # Tests use unstable features and fail to build make_check=no @@ -43,6 +43,10 @@ post_patch() { vsed -i -e '/^default =/s/"rustls", //' Cargo.toml } +pre_configure() { + cargo update --package target-lexicon +} + post_install() { vlicense license-mit LICENSE-MIT python3 setup.py install --prefix=/usr --root=${DESTDIR}