diff --git a/community/py3-numpy/APKBUILD b/community/py3-numpy/APKBUILD index e810f0f212b4069346bf7fb59974fb78d17d0612..897b68f75c40e2c0ed44cd416077153be39fe0ec 100644 --- a/community/py3-numpy/APKBUILD +++ b/community/py3-numpy/APKBUILD @@ -3,8 +3,8 @@ # Contributor: Martell Malone # Maintainer: Francesco Colista pkgname=py3-numpy -pkgver=1.23.2 -pkgrel=2 +pkgver=1.23.3 +pkgrel=0 pkgdesc="Scientific tools for Python" url="https://www.numpy.org/" arch="all" @@ -68,8 +68,8 @@ dev() { } sha512sums=" -ac5ed21887d41c94d395bfee2bb5492453b375344e43a9944224dac2eb13c6ad7477aa7a626d032d27b1c610e269232998ecc77a327da887748e794bf28c3feb numpy-1.23.2.tar.gz -2272f400594c1b2a3b69385fe0aa13d54cd12f4c4f1b109fa07789db7eec4bb681a68fd3d95ce9fb1342a5f76394e2381bb5fa8542631fc50b9a9335c512c690 numpy-1.17.0-musl.patch +e690ea2906c91e567df2c801fbfe41652dabd37208faa99d6e068bda423dcc9f88be013478e9b6c1a339c36ef4c44b07a067d44e4e9c4b2e4f1344cbcb0598a9 numpy-1.23.3.tar.gz +a66a953408dc4f1a9763eaf64ad0400696581c70551c457f0c773aa34bd3de0b21b239484270c08227b6ba60fc1e605c94245ba9279df452d6ec9bf94c8eacfb numpy-1.17.0-musl.patch cf353102400ecd45e611f7fc7e6a576b7eddf4b27979dd54501a5fcc4d9a301b105de66ef6b44a97e649436a40117ed28deb7a4668a3e7a01216b3d139ca7fc0 s390x-hwcap.patch 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 3088eefdbe7c830af3970336911b66f04cd76d56..5806a56dfbd5093ddbb9ca53e93343dd48f9e645 100644 --- a/community/py3-numpy/numpy-1.17.0-musl.patch +++ b/community/py3-numpy/numpy-1.17.0-musl.patch @@ -1,5 +1,7 @@ Upstream: No Reason: Enable build on endian musl +diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h +index 5e58a7f..19e5e64 100644 --- a/numpy/core/include/numpy/npy_endian.h +++ b/numpy/core/include/numpy/npy_endian.h @@ -12,7 +12,7 @@ @@ -11,9 +13,11 @@ Reason: Enable build on endian musl #endif #if defined(BYTE_ORDER) && defined(BIG_ENDIAN) && defined(LITTLE_ENDIAN) +diff --git a/numpy/core/setup.py b/numpy/core/setup.py +index 52b51e4..73f3b05 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py -@@ -290,7 +290,7 @@ def check_types(config_cmd, ext, build_dir): +@@ -355,7 +355,7 @@ def check_types(config_cmd, ext, build_dir): if res: private_defines.append(('HAVE_ENDIAN_H', 1)) public_defines.append(('NPY_HAVE_ENDIAN_H', 1)) @@ -22,14 +26,16 @@ Reason: Enable build on endian musl if res: private_defines.append(('HAVE_SYS_ENDIAN_H', 1)) public_defines.append(('NPY_HAVE_SYS_ENDIAN_H', 1)) +diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py +index ce966dd..2a144fd 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py -@@ -120,7 +120,7 @@ OPTIONAL_HEADERS = [ +@@ -140,7 +140,7 @@ OPTIONAL_HEADERS = [ "emmintrin.h", # SSE2 "immintrin.h", # AVX "features.h", # for glibc version linux - "xlocale.h", # see GH#8367 + "locale.h", # see GH#8367 - "dlfcn.h", # dladdr - "sys/mman.h", #madvise - ] + "dlfcn.h", # dladdr + "execinfo.h", # backtrace + "libunwind.h", # backtrace for LLVM/Clang using libunwind