Date: Saturday, November 2, 2019 @ 22:36:08 Author: felixonmars Revision: 366513
archrelease: copy trunk to staging-x86_64 Added: python-numpy/repos/staging-x86_64/PKGBUILD (from rev 366512, python-numpy/trunk/PKGBUILD) Deleted: python-numpy/repos/staging-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-02 22:35:53 UTC (rev 366512) +++ PKGBUILD 2019-11-02 22:36:08 UTC (rev 366513) @@ -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.17.3 -pkgrel=2 -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=('9ef67d993b5d2be0ba9a9247e10b86f9e0b07c185beadcbf89e1ac0c85f0f1d25471f2a4cfb45fc9749c3afc178bd59099214ab3d5fe41d772fc5f4b5cf4d5df') - -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/staging-x86_64/PKGBUILD (from rev 366512, python-numpy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-02 22:36:08 UTC (rev 366513) @@ -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.17.3 +pkgrel=3 +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=('9ef67d993b5d2be0ba9a9247e10b86f9e0b07c185beadcbf89e1ac0c85f0f1d25471f2a4cfb45fc9749c3afc178bd59099214ab3d5fe41d772fc5f4b5cf4d5df') + +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/" +}