maturin: update to 0.13.7.

This commit is contained in:
Andrew J. Hesford 2022-11-17 11:01:15 -05:00
parent 0480218a91
commit f15bf983d0

View file

@ -1,7 +1,7 @@
# Template file for 'maturin' # Template file for 'maturin'
pkgname=maturin pkgname=maturin
version=0.13.6 version=0.13.7
revision=2 revision=1
create_wrksrc=yes create_wrksrc=yes
build_style=python3-module build_style=python3-module
build_helper="qemu rust" build_helper="qemu rust"
@ -15,7 +15,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.4.tar.gz>target-lexicon-${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" f801dbb02555852e90d56d5a71e73ee42678c1bc583bb62a2970d4158f6ab6de"
# Tests use unstable features and fail to build # Tests use unstable features and fail to build
make_check=no make_check=no
@ -43,6 +43,10 @@ post_patch() {
vsed -i -e '/^default =/s/"rustls", //' Cargo.toml vsed -i -e '/^default =/s/"rustls", //' Cargo.toml
} }
pre_configure() {
cargo update --package target-lexicon
}
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}