python-scipy-mkl: update PKGBUILD from AUR

This commit is contained in:
kbipinkumar 2025-01-12 20:50:03 +05:30
parent f21a7e9b40
commit 3dabda3f0b
No known key found for this signature in database
GPG key ID: C67233497C15E476

View file

@ -7,25 +7,24 @@
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=python-scipy-mkl
_module=scipy
pkgver=1.15.0
pkgver=1.15.1
pkgrel=1
pkgdesc="SciPy is open-source software for mathematics, science, and engineering."
arch=('x86_64')
url="http://www.scipy.org/"
license=('BSD')
depends=('intel-oneapi-mkl' 'python-numpy' 'python-pooch' 'python-yaml' 'python-platformdirs' 'python' 'gcc-libs' 'glibc')
depends=('intel-oneapi-mkl' 'python-numpy' 'python-pooch')
provides=("python-scipy")
conflicts=('python-scipy')
makedepends=('cython' 'gcc-fortran' 'meson-python' 'procps-ng' 'pybind11' 'python-build' 'python-installer' 'python-pythran')
checkdepends=('python-pytest')
checkdepends=('python-pytest' 'python-hypothesis')
optdepends=('python-pillow: for image saving module')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('300742e2cc94e36a2880ebe464a1c8b4352a7b0f3e36ec3d2ac006cdbe0219ac')
source=("https://pypi.python.org/packages/source/s/scipy/scipy-$pkgver.tar.gz")
sha256sums=('033a75ddad1463970c96a88063a1df87ccfddd526437136b6ee81ff0312ebdf6')
build() {
source /opt/intel/oneapi/setvars.sh
cd ${_module}-${pkgver}
cd scipy-${pkgver}
# https://github.com/scipy/scipy/issues/16200#issuecomment-1615094519
python -m build --wheel --no-isolation --skip-dependency-check \
@ -34,7 +33,7 @@ build() {
}
check() {
cd ${_module}-${pkgver}
cd scipy-${pkgver}
python -m venv --system-site-packages test-env
test-env/bin/python -m installer dist/*.whl
cd test-env