maturin: update to 0.15.1.

This commit is contained in:
Andrew J. Hesford 2023-05-10 22:00:26 -04:00
parent e9423ca2a7
commit cfeca019a1
1 changed files with 3 additions and 14 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'maturin' # Template file for 'maturin'
pkgname=maturin pkgname=maturin
version=0.14.17 version=0.15.1
revision=1 revision=1
build_style=python3-module build_style=python3-pep517
build_helper="qemu rust" build_helper="qemu rust"
hostmakedepends="python3-setuptools-rust python3-tomli python3-wheel cargo" hostmakedepends="python3-setuptools-rust python3-tomli python3-wheel cargo"
makedepends="openssl-devel" makedepends="openssl-devel"
@ -12,7 +12,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0, MIT" license="Apache-2.0, MIT"
homepage="https://github.com/PyO3/maturin" homepage="https://github.com/PyO3/maturin"
distfiles="${homepage}/archive/v${version}.tar.gz" distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=d47bd483c2748a64d245b4ee34d32d869a30bc7683f2603487dcd54ff08cf846 checksum=15ab24cc43da24ceca5175847a43ac59b31447b8b545cecca902d219110faee9
# Tests use unstable features and fail to build # Tests use unstable features and fail to build
make_check=no make_check=no
@ -22,15 +22,4 @@ fi
post_install() { post_install() {
vlicense license-mit LICENSE-MIT vlicense license-mit LICENSE-MIT
python3 setup.py install --prefix=/usr --root=${DESTDIR}
# Generate and install some completions
local _matbin="${DESTDIR}/usr/bin/maturin"
vtargetrun "${_matbin}" completions zsh > maturin.zsh
vtargetrun "${_matbin}" completions fish > maturin.fish
vtargetrun "${_matbin}" completions bash > maturin.bash
vcompletion maturin.zsh zsh
vcompletion maturin.fish fish
vcompletion maturin.bash bash
} }