python-numpy: update to 2.0.1
This commit is contained in:
parent
737340e80b
commit
a7029d0e80
@ -1,8 +1,6 @@
|
|||||||
diff --git a/numpy/core/src/multiarray/multiarraymodule.c b/numpy/core/src/multiarray/multiarraymodule.c
|
--- a/numpy/_core/src/multiarray/multiarraymodule.c
|
||||||
index cc747d8..bde15cb 100644
|
+++ b/numpy/_core/src/multiarray/multiarraymodule.c
|
||||||
--- a/numpy/core/src/multiarray/multiarraymodule.c
|
@@ -4976,15 +4976,6 @@
|
||||||
+++ b/numpy/core/src/multiarray/multiarraymodule.c
|
|
||||||
@@ -4482,15 +4482,6 @@ PyMODINIT_FUNC PyInit__multiarray_umath(void) {
|
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -8,17 +8,19 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
|||||||
provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
|
provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
|
||||||
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
|
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
|
||||||
replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
|
replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
|
||||||
pkgver=1.26.4
|
pkgver=2.0.1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Scientific tools for Python (mingw-w64)"
|
pkgdesc="Fundamental package for array computing in Python. (mingw-w64)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||||
license=('spdx:BSD-3-Clause')
|
|
||||||
url="https://www.numpy.org/"
|
url="https://www.numpy.org/"
|
||||||
|
msys2_repository_url="https://github.com/numpy/numpy"
|
||||||
msys2_references=(
|
msys2_references=(
|
||||||
|
"archlinux: python-numpy"
|
||||||
"cpe: cpe:/a:numpy:numpy"
|
"cpe: cpe:/a:numpy:numpy"
|
||||||
"pypi: numpy"
|
"pypi: numpy"
|
||||||
)
|
)
|
||||||
|
license=('spdx:BSD-3-Clause')
|
||||||
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-wheel"
|
"${MINGW_PACKAGE_PREFIX}-python-wheel"
|
||||||
@ -34,8 +36,8 @@ optdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest: testsuite")
|
|||||||
options=(!strip)
|
options=(!strip)
|
||||||
source=(https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz
|
source=(https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz
|
||||||
0007-disable-64bit-experimental-warning.patch)
|
0007-disable-64bit-experimental-warning.patch)
|
||||||
sha256sums=('2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010'
|
sha256sums=('485b87235796410c3519a699cfe1faab097e509e90ebb05dcd098db2ae87e7b3'
|
||||||
'cafc924fd11d8653a49970d0cce5b31869cce0e8996a3ae57bcbccca96bc8eb3')
|
'3506a9c877541045ba06e118ebd37c010b5e165f90264675c04a0f935b294ea4')
|
||||||
|
|
||||||
# Helper macros to help make tasks easier #
|
# Helper macros to help make tasks easier #
|
||||||
apply_patch_with_msg() {
|
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])))")
|
_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}"
|
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
|
install -Dm644 LICENSE.txt ${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user