mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
maturin: update to 0.14.1.
This commit is contained in:
parent
624fc9cc0b
commit
421ffc6b41
1 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'maturin'
|
# Template file for 'maturin'
|
||||||
pkgname=maturin
|
pkgname=maturin
|
||||||
version=0.13.7
|
version=0.14.1
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -13,10 +13,11 @@ 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"
|
||||||
# bump target-lexicon version if it changes in Cargo.lock
|
# bump target-lexicon version if it changes in Cargo.lock
|
||||||
|
_tlver="0.12.5"
|
||||||
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/v${_tlver}.tar.gz>target-lexicon-${_tlver}.tar.gz"
|
||||||
checksum="8a30a01efc35f301a97e18718631d406144a8cddb91a7ba4485b0f45e8e27af0
|
checksum="3a15ebdb8780a4db1603c887c5bc4ba8aa689bbf6914d8d9852d05ec57e2464c
|
||||||
f801dbb02555852e90d56d5a71e73ee42678c1bc583bb62a2970d4158f6ab6de"
|
efc488676998ea73d107b0c2632cc71baff91b5ea95abb6064b48a09edc233f9"
|
||||||
# Tests use unstable features and fail to build
|
# Tests use unstable features and fail to build
|
||||||
make_check=no
|
make_check=no
|
||||||
|
|
||||||
|
@ -32,8 +33,8 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mv maturin-${version}/* .
|
mv "maturin-${version}"/* .
|
||||||
mv target-lexicon-* target-lexicon
|
mv "target-lexicon-${_tlver}" target-lexicon
|
||||||
echo "[patch.crates-io]" >> Cargo.toml
|
echo "[patch.crates-io]" >> Cargo.toml
|
||||||
echo "target-lexicon = { path = './target-lexicon' }" >> Cargo.toml
|
echo "target-lexicon = { path = './target-lexicon' }" >> Cargo.toml
|
||||||
}
|
}
|
||||||
|
@ -44,7 +45,7 @@ post_patch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
cargo update --package target-lexicon
|
cargo update --package target-lexicon --precise "${_tlver}"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue