void-packages/srcpkgs/python3-scipy/template

28 lines
887 B
Bash

# Template file for 'python3-scipy'
pkgname=python3-scipy
version=1.3.2
revision=2
wrksrc="scipy-${version}"
build_style=python3-module
pycompile_module="scipy"
make_check_args="--force"
hostmakedepends="python3-setuptools python3-Cython gcc-fortran"
makedepends="python3-devel python3-numpy lapack-devel"
depends="python3-numpy"
checkdepends="python3-nose"
short_desc="Scientific library for Python3"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://scipy.org/scipylib/"
distfiles="https://github.com/scipy/scipy/releases/download/v${version}/scipy-${version}.tar.xz"
checksum=1d2f09bcb6c4b66a65d9f49d21fa065f5396c940edac8285b87947b8d21b55f8
nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/24733/steps/shell_3/logs/stdio"
LDFLAGS+="-shared"
post_install() {
rm ${DESTDIR}/${py3_sitelib}/scipy/*.txt
vlicense LICENSE.txt
}