Date: Friday, September 11, 2020 @ 09:48:00 Author: felixonmars Revision: 395763
archrelease: copy trunk to extra-x86_64 Added: python-numpy/repos/extra-x86_64/PKGBUILD (from rev 395762, python-numpy/trunk/PKGBUILD) Deleted: python-numpy/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-11 09:47:49 UTC (rev 395762) +++ PKGBUILD 2020-09-11 09:48:00 UTC (rev 395763) @@ -1,42 +0,0 @@ -# Maintainer: Jan de Groot <j...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> -# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> - -pkgname=python-numpy -pkgver=1.19.1 -pkgrel=1 -pkgdesc="Scientific tools for Python" -arch=('x86_64') -license=('custom') -url="https://www.numpy.org/" -depends=('cblas' 'lapack' 'python') -optdepends=('python-nose: testsuite' - 'openblas: faster linear algebra') -makedepends=('python-setuptools' 'gcc-fortran' 'python-nose' 'cython') -checkdepends=('python-pytest' 'python-hypothesis') -options=('staticlibs') -source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz") -sha512sums=('3aefc8ec1566bb7bef58f855433cf5b8985e63f7c3596eb1283a101c0161cf0e7687874cbc6cc571ad39b97d4c7cafff12600b850cdb15f907f2c6988caf7068') - -build() { - cd numpy-$pkgver - python setup.py build -} - -check() { - # TODO: Fix fortran tests here (it works fine after installation) - - cd numpy-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - cd "$PWD/tmp_install" - PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.8/site-packages:$PYTHONPATH" python -c 'import numpy; numpy.test()' -} - -package() { - cd numpy-$pkgver - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 - - install -m755 -d "${pkgdir}/usr/share/licenses/python-numpy" - install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-numpy/" -} Copied: python-numpy/repos/extra-x86_64/PKGBUILD (from rev 395762, python-numpy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-11 09:48:00 UTC (rev 395763) @@ -0,0 +1,42 @@ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> + +pkgname=python-numpy +pkgver=1.19.2 +pkgrel=1 +pkgdesc="Scientific tools for Python" +arch=('x86_64') +license=('custom') +url="https://www.numpy.org/" +depends=('cblas' 'lapack' 'python') +optdepends=('python-nose: testsuite' + 'openblas: faster linear algebra') +makedepends=('python-setuptools' 'gcc-fortran' 'python-nose' 'cython') +checkdepends=('python-pytest' 'python-hypothesis') +options=('staticlibs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz") +sha512sums=('df6ba4e0b6fc4101cddf5f86ef28eba0bd03f173539dffddbd6c1cd9c77f6caf4a6301bc08869e46b8d4a69e1cb1462101d1b3aca1ad48c00da80d5c7e403c91') + +build() { + cd numpy-$pkgver + python setup.py build +} + +check() { + # TODO: Fix fortran tests here (it works fine after installation) + + cd numpy-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + cd "$PWD/tmp_install" + PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.8/site-packages:$PYTHONPATH" python -c 'import numpy; numpy.test()' +} + +package() { + cd numpy-$pkgver + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + + install -m755 -d "${pkgdir}/usr/share/licenses/python-numpy" + install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-numpy/" +}