diff options
author | Carlos Aznarán Laos | 2023-04-08 17:56:36 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2023-04-08 17:56:36 -0500 |
commit | f549fc5c36e11da71a3f5912072c839f52002af3 (patch) | |
tree | 45a6a210f35f3238faeeadd8c8db1da10840545a | |
download | aur-f549fc5c36e11da71a3f5912072c839f52002af3.tar.gz |
Bump version to 0.4.2
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..02c46bad29ee --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python-pypardiso + pkgdesc = Python interface to the Intel MKL Pardiso library to solve large sparse linear systems of equations + pkgver = 0.4.2 + pkgrel = 1 + url = https://github.com/haasad/PyPardisoProject + arch = x86_64 + license = custom:BSD-3-clause + checkdepends = python-pytest + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-wheel + depends = intel-oneapi-mkl + depends = python-scipy + source = pypardiso-0.4.2.tar.gz::https://github.com/haasad/PyPardisoProject/archive/v0.4.2.tar.gz + sha512sums = defc59769f40447099260f4f9ef9b6707f3c09708275f74fedc44226faa259a7d41b39aaefd36c203a6eb2623167f7fde6404d7d96d551ac9001e3b6c69dd1ef + +pkgname = python-pypardiso diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f59ec20aabf5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fcec5dc72517 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +_base=pypardiso +pkgname=python-${_base} +pkgver=0.4.2 +pkgrel=1 +pkgdesc="Python interface to the Intel MKL Pardiso library to solve large sparse linear systems of equations" +arch=('x86_64') +url="https://github.com/haasad/PyPardisoProject" +license=('custom:BSD-3-clause') +depends=(intel-oneapi-mkl python-scipy) +makedepends=(python-build python-installer python-setuptools python-wheel) +checkdepends=(python-pytest) +source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) +sha512sums=('defc59769f40447099260f4f9ef9b6707f3c09708275f74fedc44226faa259a7d41b39aaefd36c203a6eb2623167f7fde6404d7d96d551ac9001e3b6c69dd1ef') + +build() { + cd PyPardisoProject-${pkgver} + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd PyPardisoProject-${pkgver} + python -m venv --system-site-packages test-env + test-env/bin/python -m installer dist/*.whl + test-env/bin/python -m pytest tests +} + +package() { + cd PyPardisoProject-${pkgver} + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl + install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" +} |