Date: Sunday, February 6, 2022 @ 00:12:40
  Author: arojas
Revision: 1126900

archrelease: copy trunk to community-testing-x86_64

Added:
  python-scipy/repos/community-testing-x86_64/
  python-scipy/repos/community-testing-x86_64/PKGBUILD
    (from rev 1126899, python-scipy/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: python-scipy/repos/community-testing-x86_64/PKGBUILD (from rev 1126899, 
python-scipy/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-02-06 00:12:40 UTC (rev 1126900)
@@ -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.8.0
+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=('31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd')
+
+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.10/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
+}

Reply via email to