Date: Wednesday, January 4, 2023 @ 10:11:18
Author: arojas
Revision: 1375083
archrelease: copy trunk to community-x86_64
Added:
python-scipy/repos/community-x86_64/PKGBUILD
(from rev 1375082, python-scipy/trunk/PKGBUILD)
Deleted:
python-scipy/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 44 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-04 10:11:07 UTC (rev 1375082)
+++ PKGBUILD 2023-01-04 10:11:18 UTC (rev 1375083)
@@ -1,50 +0,0 @@
-# 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.9.3
-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 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=('fbc5c05c85c1a02be77b1ff591087c83bc44579c6d2bd9fb798bb64ea5e1a027')
-
-prepare() {
- cd $_name-$pkgver
-# meson-python does not allow passing options to meson yet
- sed -e 's|blas=openblas|blas=blas|' -e 's|lapack=openblas|lapack=lapack|' -i
meson.build
-# Relax dependency versions
- sed -e 's|==|>=|g' -e 's|\,<[0-9]*\(.[0-9]\)*||g' -i pyproject.toml
-}
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-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
-}
Copied: python-scipy/repos/community-x86_64/PKGBUILD (from rev 1375082,
python-scipy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-04 10:11:18 UTC (rev 1375083)
@@ -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.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 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=('c8b3cbc636a87a89b770c6afc999baa6bcbb01691b5ccbbc1b1791c7c0a07540')
+
+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
+}