Date: Thursday, June 4, 2020 @ 07:03:25 Author: felixonmars Revision: 388244
archrelease: copy trunk to extra-x86_64 Added: python-numpy/repos/extra-x86_64/PKGBUILD (from rev 388243, 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-06-04 07:03:09 UTC (rev 388243) +++ PKGBUILD 2020-06-04 07:03:25 UTC (rev 388244) @@ -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.18.4 -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') -options=('staticlibs') -source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz") -sha512sums=('38a8eef1d51f746f1f9ab3e0d9e444cfa49312df7b32c34d707fc99ffd5f21af0e482e4c378bc890161c7d0f1efab6ce7d291825a4752793d3ffeefc3fb17fbc') - -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 388243, python-numpy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-04 07:03:25 UTC (rev 388244) @@ -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.18.5 +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') +options=('staticlibs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz") +sha512sums=('ff62527fd83b50d40a288deb1b8e30ff83eddcf747893bef3ec8f3dd5b7e699553aea5bffc3fd2aabdb5417de4e0b8b4ab78baa4915cfc123319ae4b5a04a8b4') + +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/" +}