Date: Saturday, November 6, 2021 @ 18:36:47 Author: arojas Revision: 1037681
archrelease: copy trunk to community-x86_64 Added: python-scipy/repos/community-x86_64/PKGBUILD (from rev 1037680, python-scipy/trunk/PKGBUILD) Deleted: python-scipy/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-06 18:36:35 UTC (rev 1037680) +++ PKGBUILD 2021-11-06 18:36:47 UTC (rev 1037681) @@ -1,45 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> -# Contributor: Ray Rashif <sc...@archlinux.org> -# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> -# Contributor: Bodor Dávid Gábor <david.gabor.bo...@gmail.com> -# Contributor: Andrzej Giniewicz <ggi...@gmail.com> - -_name=scipy -pkgname=python-scipy -pkgver=1.7.1 -pkgrel=1 -pkgdesc='Open-source software for mathematics, science, and engineering' -arch=(x86_64) -url='https://www.scipy.org/' -license=(BSD) -depends=(python-numpy) -provides=(scipy) -makedepends=(gcc-fortran python-setuptools cython python-pythran pybind11) -checkdepends=(python-pytest) -optdepends=('python-pillow: for image saving module') -source=(https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz) -sha256sums=('6b47d5fa7ea651054362561a28b1ccc8da9368a39514c1bbf6c0977a1c376764') - -build() { - cd scipy-${pkgver} - python setup.py config_fc build -} - -check() { - cd scipy-${pkgver} - python setup.py config_fc install \ - --prefix=/usr --root="$srcdir"/test --optimize=1 - export PYTHONPATH="$srcdir"/test/usr/lib/python3.9/site-packages - cd .. - python -c "from scipy import test; test('full')" -} - -package() { - cd scipy-$pkgver - python3 setup.py config_fc install \ - --prefix=/usr --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-scipy/repos/community-x86_64/PKGBUILD (from rev 1037680, python-scipy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-06 18:36:47 UTC (rev 1037681) @@ -0,0 +1,45 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: Ray Rashif <sc...@archlinux.org> +# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> +# Contributor: Bodor Dávid Gábor <david.gabor.bo...@gmail.com> +# Contributor: Andrzej Giniewicz <ggi...@gmail.com> + +_name=scipy +pkgname=python-scipy +pkgver=1.7.2 +pkgrel=1 +pkgdesc='Open-source software for mathematics, science, and engineering' +arch=(x86_64) +url='https://www.scipy.org/' +license=(BSD) +depends=(python-numpy) +provides=(scipy) +makedepends=(gcc-fortran python-setuptools cython python-pythran pybind11) +checkdepends=(python-pytest) +optdepends=('python-pillow: for image saving module') +source=(https://pypi.python.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('fa2dbabaaecdb502641b0b3c00dec05fb475ae48655c66da16c9ed24eda1e711') + +build() { + cd scipy-${pkgver} + python setup.py config_fc build +} + +check() { + cd scipy-${pkgver} + python setup.py config_fc install \ + --prefix=/usr --root="$srcdir"/test --optimize=1 + export PYTHONPATH="$srcdir"/test/usr/lib/python3.9/site-packages + cd .. + python -c "from scipy import test; test('full')" +} + +package() { + cd scipy-$pkgver + python3 setup.py config_fc install \ + --prefix=/usr --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname +}