mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python-numpy: remove
python2
This commit is contained in:
parent
1182574c60
commit
d4e81b4868
4 changed files with 0 additions and 61 deletions
|
@ -1,10 +0,0 @@
|
||||||
#define FE_INVALID 1
|
|
||||||
#define FE_DIVBYZERO 2
|
|
||||||
#define FE_OVERFLOW 4
|
|
||||||
#define FE_UNDERFLOW 8
|
|
||||||
#define FE_INEXACT 16
|
|
||||||
#define FE_ALL_EXCEPT 31
|
|
||||||
#define FE_TONEAREST 0
|
|
||||||
#define FE_DOWNWARD 0x800000
|
|
||||||
#define FE_UPWARD 0x400000
|
|
||||||
#define FE_TOWARDZERO 0xc00000
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- numpy/core/src/npymath/ieee754.c.src 2020-09-20 14:53:51.998825328 +1000
|
|
||||||
+++ numpy/core/src/npymath/ieee754.c.src 2020-09-20 14:54:03.611889518 +1000
|
|
||||||
@@ -8,6 +8,8 @@
|
|
||||||
#include "npy_math_private.h"
|
|
||||||
#include "numpy/utils.h"
|
|
||||||
|
|
||||||
+#include "fenv-constants.h"
|
|
||||||
+
|
|
||||||
#ifndef HAVE_COPYSIGN
|
|
||||||
double npy_copysign(double x, double y)
|
|
||||||
{
|
|
|
@ -1,39 +0,0 @@
|
||||||
# Template file for 'python-numpy'
|
|
||||||
pkgname=python-numpy
|
|
||||||
version=1.16.5
|
|
||||||
revision=1
|
|
||||||
build_style=python2-module
|
|
||||||
hostmakedepends="python-setuptools python-Cython gcc-fortran"
|
|
||||||
makedepends="python-devel lapack-devel cblas-devel"
|
|
||||||
short_desc="Fast and sophisticated array facility to Python2"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="BSD-3-Clause"
|
|
||||||
homepage="https://www.numpy.org/"
|
|
||||||
distfiles="https://github.com/numpy/numpy/archive/v${version}.tar.gz"
|
|
||||||
checksum=3c82a9b8616e3096a79a2af9c288d8ed4013a10fc7baf3eaf54655309734dadd
|
|
||||||
alternatives="numpy:f2py:/usr/bin/f2py2"
|
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
|
||||||
armv5tel-musl)
|
|
||||||
cp "${FILESDIR}/fenv-constants.h" numpy/core/src/npymath/
|
|
||||||
patch -Np0 -i "${FILESDIR}/fenv-constants.patch"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
make_build_args+=" ${makejobs}"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
# create compat symlinks for .h files
|
|
||||||
vmkdir ${py2_inc}
|
|
||||||
ln -sfr ${DESTDIR}/${py2_sitelib}/numpy/core/include/numpy \
|
|
||||||
${DESTDIR}/${py2_inc}
|
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/bin/f2py
|
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/lib/python*/site-packages/numpy/LICENSE.txt
|
|
||||||
vlicense LICENSE.txt LICENSE
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
ignore="*a* *b* *rc* *post*"
|
|
Loading…
Add table
Reference in a new issue