python-numpy: update to 1.14.0
This commit is contained in:
parent
c619b6889e
commit
9b80d73f0c
1 changed files with 5 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-numpy'
|
# Template file for 'python-numpy'
|
||||||
pkgname=python-numpy
|
pkgname=python-numpy
|
||||||
version=1.13.3
|
version=1.14.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="numpy-${version}"
|
wrksrc="numpy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -13,13 +13,11 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://www.numpy.org/"
|
homepage="http://www.numpy.org/"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="https://github.com/numpy/numpy/archive/v${version}.tar.gz"
|
distfiles="https://github.com/numpy/numpy/archive/v${version}.tar.gz"
|
||||||
checksum=1db97b12ea8f2ae5a8b847505f634dcd8c670ee311057ff5412a126becca45b8
|
checksum=9dc112ff80ca7bc7c47ae7a6f23ae6211244005489b597d6ce05e9653f2a43d7
|
||||||
# Needs cross Python headers and/or libs issues sorted out.
|
# Needs cross Python headers and/or libs issues sorted out.
|
||||||
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/1408/steps/shell_3/logs/stdio"
|
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/1408/steps/shell_3/logs/stdio"
|
||||||
|
|
||||||
alternatives="
|
alternatives="numpy:f2py:/usr/bin/f2py2"
|
||||||
numpy:f2py:/usr/bin/f2py2
|
|
||||||
numpy:f2py.1:/usr/share/man/man1/f2py2.1"
|
|
||||||
|
|
||||||
export ATLAS=None
|
export ATLAS=None
|
||||||
LDFLAGS="-shared"
|
LDFLAGS="-shared"
|
||||||
|
@ -33,24 +31,18 @@ post_install() {
|
||||||
ln -sfr ${DESTDIR}/${py3_sitelib}/numpy/core/include/numpy \
|
ln -sfr ${DESTDIR}/${py3_sitelib}/numpy/core/include/numpy \
|
||||||
${DESTDIR}/${py3_inc}
|
${DESTDIR}/${py3_inc}
|
||||||
|
|
||||||
# create versioned man pages
|
rm -f ${DESTDIR}/usr/lib/python*/site-packages/numpy/LICENSE.txt
|
||||||
vman doc/f2py/f2py.1 f2py2.1
|
|
||||||
vman doc/f2py/f2py.1 f2py3.1
|
|
||||||
|
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-numpy_package() {
|
python3-numpy_package() {
|
||||||
alternatives="
|
alternatives="numpy:f2py:/usr/bin/f2py3"
|
||||||
numpy:f2py:/usr/bin/f2py3
|
|
||||||
numpy:f2py.1:/usr/share/man/man1/f2py3.1"
|
|
||||||
pycompile_module="numpy"
|
pycompile_module="numpy"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/f2py3
|
vmove usr/bin/f2py3
|
||||||
vmove ${py3_sitelib}
|
vmove ${py3_sitelib}
|
||||||
vmove ${py3_inc}
|
vmove ${py3_inc}
|
||||||
vmove usr/share/man/man1/f2py3.1
|
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue