New package: python3-numpy-1.17.0

This commit is contained in:
bra1nwave 2019-08-11 18:01:29 +02:00 committed by Enno Boland
parent 166ace4e82
commit 265b85bc10
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Template file for 'python3-numpy'
pkgname=python3-numpy
version=1.17.0
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"
short_desc="Fast and sophisticated array facility to Python3"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="BSD-3-Clause"
homepage="https://www.numpy.org/"
distfiles="https://github.com/numpy/numpy/archive/v${version}.tar.gz"
checksum=56b53127c1d9dbb91fe1493646d71d8d95feea8320a1fa9808c9d983d1dc4a87
alternatives="numpy:f2py:/usr/bin/f2py3"
nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/1408/steps/shell_3/logs/stdio"
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
}

View file

@ -0,0 +1 @@
ignore="*a* *b* *rc* *post*"