Date: Thursday, April 6, 2023 @ 02:23:33
  Author: felixonmars
Revision: 1438080

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: python-scipy/repos/community-staging-x86_64/PKGBUILD (from rev 1438079, 
python-scipy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-06 02:23:33 UTC (rev 1438080)
@@ -0,0 +1,44 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+# Contributor: Bodor Dávid Gábor <[email protected]>
+# Contributor: Andrzej Giniewicz <[email protected]>
+
+_name=scipy
+pkgname=python-scipy
+pkgver=1.10.1
+pkgrel=2
+pkgdesc='Open-source software for mathematics, science, and engineering'
+arch=(x86_64)
+url='https://www.scipy.org/'
+license=(BSD)
+depends=(python-numpy python-pooch)
+provides=(scipy)
+makedepends=(gcc-fortran cython python-pythran pybind11 meson-python 
python-build python-installer)
+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=('2cf9dfb80a7b4589ba4c40ce7588986d6d5cebc5457cad2c2880f6bc2d42f3a5')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation --skip-dependency-check \
+    -C setup-args=-Dblas=blas \
+    -C setup-args=-Dlapack=lapack
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  cd test-env
+  bin/python -c "from scipy import test; test('full')"
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to