diff options
author | Justin Berthault <justin.berthault@zaclys.net> | 2020-06-04 15:25:17 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-06-05 00:44:24 +0000 |
commit | cb2c02b94da9d577dab6c2726d2f2dccd9c4e46f (patch) | |
tree | 2d39811fd7d24baa12cab36a5424b548020764b8 | |
parent | 6d263bc5d55f5a4e25318c7b58aa55b652f24d16 (diff) | |
download | alpine_aports-cb2c02b94da9d577dab6c2726d2f2dccd9c4e46f.tar.bz2 alpine_aports-cb2c02b94da9d577dab6c2726d2f2dccd9c4e46f.tar.xz alpine_aports-cb2c02b94da9d577dab6c2726d2f2dccd9c4e46f.zip |
community/py3-numpy: upgrade to 1.18.5
-rw-r--r-- | community/py3-numpy/APKBUILD | 11 | ||||
-rw-r--r-- | community/py3-numpy/numpy-1.17.0-musl.patch | 8 |
2 files changed, 7 insertions, 12 deletions
diff --git a/community/py3-numpy/APKBUILD b/community/py3-numpy/APKBUILD index 61a74e40b7..4803ed159e 100644 --- a/community/py3-numpy/APKBUILD +++ b/community/py3-numpy/APKBUILD | |||
@@ -3,8 +3,7 @@ | |||
3 | # Contributor: Martell Malone <martellmalone@gmail.com> | 3 | # Contributor: Martell Malone <martellmalone@gmail.com> |
4 | # Maintainer: Francesco Colista <fcolista@alpinelinux.org> | 4 | # Maintainer: Francesco Colista <fcolista@alpinelinux.org> |
5 | pkgname=py3-numpy | 5 | pkgname=py3-numpy |
6 | _pkgname=numpy | 6 | pkgver=1.18.5 |
7 | pkgver=1.18.4 | ||
8 | pkgrel=0 | 7 | pkgrel=0 |
9 | pkgdesc="Scientific tools for Python" | 8 | pkgdesc="Scientific tools for Python" |
10 | url="https://www.numpy.org/" | 9 | url="https://www.numpy.org/" |
@@ -18,10 +17,10 @@ makedepends="python3-dev cython openblas-dev>=0.3.0 | |||
18 | subpackages="$pkgname-dev | 17 | subpackages="$pkgname-dev |
19 | $pkgname-doc | 18 | $pkgname-doc |
20 | $pkgname-f2py::noarch" | 19 | $pkgname-f2py::noarch" |
21 | source="https://github.com/numpy/numpy/releases/download/v$pkgver/$_pkgname-$pkgver.tar.gz | 20 | source="https://github.com/numpy/numpy/releases/download/v$pkgver/numpy-$pkgver.tar.gz |
22 | numpy-1.17.0-musl.patch | 21 | numpy-1.17.0-musl.patch |
23 | site.cfg" | 22 | site.cfg" |
24 | builddir="$srcdir/$_pkgname-$pkgver" | 23 | builddir="$srcdir/numpy-$pkgver" |
25 | 24 | ||
26 | prepare() { | 25 | prepare() { |
27 | default_prepare | 26 | default_prepare |
@@ -55,6 +54,6 @@ dev() { | |||
55 | default_dev | 54 | default_dev |
56 | } | 55 | } |
57 | 56 | ||
58 | sha512sums="8a238fccb686de9a59c6e8511a43f552394ede8519fe0d16e82549b9ebbef192788f3be9e0a57ee254c23e987d6260a30bc86d5f5d36c31c110708c1e042c9ea numpy-1.18.4.tar.gz | 57 | sha512sums="b4328fe695bd0df6b27060cfac7530b05e1417e40b43e4b48e3adbc399d9329d111f294b2e2562d73a530a150f3da54ccdc0c8e91e542a1f282cad3be7aedc33 numpy-1.18.5.tar.gz |
59 | f9f2a89ad4409b14e2b46acedadfc5e8d79a749af6cad3c8d168bcaf21ca4379cd03be95f22485c35b41114604599bbeb9adaa96dff4194b01dc73e90c04a29f numpy-1.17.0-musl.patch | 58 | 2272f400594c1b2a3b69385fe0aa13d54cd12f4c4f1b109fa07789db7eec4bb681a68fd3d95ce9fb1342a5f76394e2381bb5fa8542631fc50b9a9335c512c690 numpy-1.17.0-musl.patch |
60 | 21ca8db304cbbf5949f07702f2a42bb5e5a0d641921e36649555a41b0e48f04e96f53760417823177ac27f6de24b2191e6e1d5f0eb393beafa29f7484e23284f site.cfg" | 59 | 21ca8db304cbbf5949f07702f2a42bb5e5a0d641921e36649555a41b0e48f04e96f53760417823177ac27f6de24b2191e6e1d5f0eb393beafa29f7484e23284f site.cfg" |
diff --git a/community/py3-numpy/numpy-1.17.0-musl.patch b/community/py3-numpy/numpy-1.17.0-musl.patch index 16265786f8..3088eefdbe 100644 --- a/community/py3-numpy/numpy-1.17.0-musl.patch +++ b/community/py3-numpy/numpy-1.17.0-musl.patch | |||
@@ -1,5 +1,5 @@ | |||
1 | diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h | 1 | Upstream: No |
2 | index 44cdffd..f120094 100644 | 2 | Reason: Enable build on endian musl |
3 | --- a/numpy/core/include/numpy/npy_endian.h | 3 | --- a/numpy/core/include/numpy/npy_endian.h |
4 | +++ b/numpy/core/include/numpy/npy_endian.h | 4 | +++ b/numpy/core/include/numpy/npy_endian.h |
5 | @@ -12,7 +12,7 @@ | 5 | @@ -12,7 +12,7 @@ |
@@ -11,8 +11,6 @@ index 44cdffd..f120094 100644 | |||
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #if defined(BYTE_ORDER) && defined(BIG_ENDIAN) && defined(LITTLE_ENDIAN) | 13 | #if defined(BYTE_ORDER) && defined(BIG_ENDIAN) && defined(LITTLE_ENDIAN) |
14 | diff --git a/numpy/core/setup.py b/numpy/core/setup.py | ||
15 | index 3385027..976e782 100644 | ||
16 | --- a/numpy/core/setup.py | 14 | --- a/numpy/core/setup.py |
17 | +++ b/numpy/core/setup.py | 15 | +++ b/numpy/core/setup.py |
18 | @@ -290,7 +290,7 @@ def check_types(config_cmd, ext, build_dir): | 16 | @@ -290,7 +290,7 @@ def check_types(config_cmd, ext, build_dir): |
@@ -24,8 +22,6 @@ index 3385027..976e782 100644 | |||
24 | if res: | 22 | if res: |
25 | private_defines.append(('HAVE_SYS_ENDIAN_H', 1)) | 23 | private_defines.append(('HAVE_SYS_ENDIAN_H', 1)) |
26 | public_defines.append(('NPY_HAVE_SYS_ENDIAN_H', 1)) | 24 | public_defines.append(('NPY_HAVE_SYS_ENDIAN_H', 1)) |
27 | diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py | ||
28 | index 307fab3..916a216 100644 | ||
29 | --- a/numpy/core/setup_common.py | 25 | --- a/numpy/core/setup_common.py |
30 | +++ b/numpy/core/setup_common.py | 26 | +++ b/numpy/core/setup_common.py |
31 | @@ -120,7 +120,7 @@ OPTIONAL_HEADERS = [ | 27 | @@ -120,7 +120,7 @@ OPTIONAL_HEADERS = [ |