diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = python-numpy-git pkgdesc = Scientific tools for Python - git version - pkgver = v1.21.0.dev0.r814.g740a8cf8c1 - pkgrel = 2 + pkgver = v1.23.0.dev0.r229.g0302205105 + pkgrel = 1 url = https://www.numpy.org/ arch = x86_64 license = custom:BSD 3-clause @@ -23,4 +23,3 @@ pkgbase = python-numpy-git sha512sums = SKIP pkgname = python-numpy-git - @@ -2,8 +2,8 @@ pkgname=python-numpy-git _pkgname=numpy -pkgver=v1.21.0.dev0.r814.g740a8cf8c1 -pkgrel=2 +pkgver=v1.23.0.dev0.r229.g0302205105 +pkgrel=1 pkgdesc="Scientific tools for Python - git version" arch=('x86_64') license=('custom:BSD 3-clause') @@ -25,19 +25,20 @@ pkgver() { prepare() { # https://github.com/numpy/numpy/issues/17390 - sed -i '/error/a \ ignore:Module already imported so cannot be rewritten' ${srcdir}/numpy/pytest.ini + sed -i '/error/a \ ignore:Module already imported so cannot be rewritten' ${srcdir}/numpy/pytest.ini } build() { - cd ${srcdir}/numpy - python setup.py build + cd ${srcdir}/numpy + git submodule update --init + python setup.py build } check() { cd ${srcdir}/numpy python setup.py install --root="$PWD/tmp_install" --optimize=1 cd "$PWD/tmp_install" - PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.9/site-packages/:$PYTHONPATH" python -c 'import numpy; numpy.test()' + PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.10/site-packages/:$PYTHONPATH" python -c 'import numpy; numpy.test()' } package() { @@ -46,4 +47,4 @@ package() { install -m755 -d "${pkgdir}/usr/share/licenses/python-numpy" install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-numpy/" -}
\ No newline at end of file +} |