Date: Tuesday, March 17, 2020 @ 20:54:22 Author: felixonmars Revision: 377822
archrelease: copy trunk to extra-x86_64 Added: python-numpy/repos/extra-x86_64/PKGBUILD (from rev 377821, 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-03-17 20:53:52 UTC (rev 377821) +++ PKGBUILD 2020-03-17 20:54:22 UTC (rev 377822) @@ -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.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') -options=('staticlibs') -source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz") -sha512sums=('32146eb8fda38dbb5a195b907bef828161739d4b7c7fffa2013e5333c71dee2f5bfdc9693e3e466dcf40a222e442cd9ead666546d1fab518530e35712d1098f4') - -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 377821, python-numpy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-17 20:54:22 UTC (rev 377822) @@ -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.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') +options=('staticlibs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz") +sha512sums=('34a4a29152dcafc221f2f99c4f3f6a481646ee4f5a63453429fbcd364bae1a71936a7c9b05cc57ef06f1d9c611b6993cb617e9e959f530d0963f1686cbc7edae') + +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/" +}