diff --git a/mingw-w64-python-numpy/0007-disable-64bit-experimental-warning.patch b/mingw-w64-python-numpy/0007-disable-64bit-experimental-warning.patch index 503111009b..045bf6c864 100644 --- a/mingw-w64-python-numpy/0007-disable-64bit-experimental-warning.patch +++ b/mingw-w64-python-numpy/0007-disable-64bit-experimental-warning.patch @@ -1,8 +1,6 @@ -diff --git a/numpy/core/src/multiarray/multiarraymodule.c b/numpy/core/src/multiarray/multiarraymodule.c -index cc747d8..bde15cb 100644 ---- a/numpy/core/src/multiarray/multiarraymodule.c -+++ b/numpy/core/src/multiarray/multiarraymodule.c -@@ -4482,15 +4482,6 @@ PyMODINIT_FUNC PyInit__multiarray_umath(void) { +--- a/numpy/_core/src/multiarray/multiarraymodule.c ++++ b/numpy/_core/src/multiarray/multiarraymodule.c +@@ -4976,15 +4976,6 @@ goto err; } diff --git a/mingw-w64-python-numpy/PKGBUILD b/mingw-w64-python-numpy/PKGBUILD index 5292329f16..ecd015337d 100644 --- a/mingw-w64-python-numpy/PKGBUILD +++ b/mingw-w64-python-numpy/PKGBUILD @@ -8,17 +8,19 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=1.26.4 -pkgrel=2 -pkgdesc="Scientific tools for Python (mingw-w64)" +pkgver=2.0.1 +pkgrel=1 +pkgdesc="Fundamental package for array computing in Python. (mingw-w64)" arch=('any') -mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') -license=('spdx:BSD-3-Clause') +mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') url="https://www.numpy.org/" +msys2_repository_url="https://github.com/numpy/numpy" msys2_references=( + "archlinux: python-numpy" "cpe: cpe:/a:numpy:numpy" "pypi: numpy" ) +license=('spdx:BSD-3-Clause') makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" "${MINGW_PACKAGE_PREFIX}-python-installer" "${MINGW_PACKAGE_PREFIX}-python-wheel" @@ -34,8 +36,8 @@ optdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest: testsuite") options=(!strip) source=(https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz 0007-disable-64bit-experimental-warning.patch) -sha256sums=('2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010' - 'cafc924fd11d8653a49970d0cce5b31869cce0e8996a3ae57bcbccca96bc8eb3') +sha256sums=('485b87235796410c3519a699cfe1faab097e509e90ebb05dcd098db2ae87e7b3' + '3506a9c877541045ba06e118ebd37c010b5e165f90264675c04a0f935b294ea4') # Helper macros to help make tasks easier # apply_patch_with_msg() { @@ -76,7 +78,7 @@ package() { _pyver=$(${MINGW_PREFIX}/bin/python -c "import sys;sys.stdout.write('.'.join(map(str, sys.version_info[:2])))") install -m755 -d "${pkgdir}${MINGW_PREFIX}/include/python${_pyver}" - cp -rf ${pkgdir}${MINGW_PREFIX}/lib/python${_pyver}/site-packages/${_realname}/core/include/${_realname} "${pkgdir}${MINGW_PREFIX}/include/python${_pyver}/" + cp -rf ${pkgdir}${MINGW_PREFIX}/lib/python${_pyver}/site-packages/${_realname}/_core/include/${_realname} "${pkgdir}${MINGW_PREFIX}/include/python${_pyver}/" install -Dm644 LICENSE.txt ${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE.txt }