28 lines
777 B
Bash
28 lines
777 B
Bash
# Template file for 'maturin'
|
|
pkgname=maturin
|
|
version=1.6.0
|
|
revision=1
|
|
build_style=python3-pep517
|
|
build_helper="qemu rust"
|
|
hostmakedepends="python3-setuptools-rust python3-tomli python3-wheel cargo"
|
|
makedepends="openssl-devel"
|
|
depends="python3-tomli"
|
|
short_desc="Build and publish crates as python packages"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="Apache-2.0, MIT"
|
|
homepage="https://github.com/PyO3/maturin"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=10809d4df85532cb70d9f186117cac8b2d2fa9b03c8f2fb53a8dc8a531f5afeb
|
|
# Tests use unstable features and fail to build
|
|
make_check=no
|
|
|
|
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
makedepends+=" rust-std"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense license-mit LICENSE-MIT
|
|
}
|