# Template file for 'python3-numpy' pkgname=python3-numpy version=1.17.1 revision=1 wrksrc="numpy-${version}" build_style=python3-module pycompile_module="numpy" hostmakedepends="python3-setuptools python3-Cython gcc-fortran" makedepends="python3-devel lapack-devel cblas-devel" checkdepends="python3-pytest" short_desc="Fast and sophisticated array facility to Python3" maintainer="bra1nwave " license="BSD-3-Clause" homepage="https://www.numpy.org/" distfiles="https://github.com/numpy/numpy/archive/v${version}.tar.gz" checksum=c47202690e013ea2ee170f0e8f5dd7f5f667e2180c84d5b6e7ec2e284c34228a alternatives="numpy:f2py:/usr/bin/f2py3" nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/1408/steps/shell_3/logs/stdio" do_check() { ./runtests.py } post_install() { # create compat symlinks for .h files vmkdir ${py3_inc} ln -sfr ${DESTDIR}/${py3_sitelib}/numpy/core/include/numpy \ ${DESTDIR}/${py3_inc} rm -f ${DESTDIR}/usr/bin/f2py rm -f ${DESTDIR}/usr/lib/python*/site-packages/numpy/LICENSE.txt vlicense LICENSE.txt LICENSE }