diff options
author | Carlos Aznarán | 2024-03-07 14:41:03 -0500 |
---|---|---|
committer | Carlos Aznarán | 2024-03-07 14:41:03 -0500 |
commit | d264be61cd04a0bf5edf057edb099c395896b6db (patch) | |
tree | d2790e46b52aa795e6553faccf36edc92cc44bfc | |
parent | a535a0b704052687ee25468238acd7c0d8599288 (diff) | |
download | aur-d264be61cd04a0bf5edf057edb099c395896b6db.tar.gz |
Bump version to 3.0.0.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 12 insertions, 22 deletions
@@ -1,10 +1,10 @@ pkgbase = python-pyprecice pkgdesc = Python language bindings for the preCICE coupling library - pkgver = 2.5.0.4 + pkgver = 3.0.0.0 pkgrel = 1 url = https://github.com/precice/python-bindings arch = x86_64 - license = LGPL3 + license = LGPL-3.0-or-later makedepends = python-build makedepends = python-installer makedepends = python-setuptools @@ -13,7 +13,7 @@ pkgbase = python-pyprecice makedepends = python-wheel depends = precice depends = python-mpi4py - source = python-bindings-2.5.0.4.tar.gz::https://github.com/precice/python-bindings/archive/v2.5.0.4.tar.gz - sha512sums = cd0397c18a769d1294ff3223b6b877686e9280611ff995115296cabecae4c31f4ec42e1af343a619603483160eeff014bbf592e43a59a74f2ac2aa9042963faa + source = python-bindings-3.0.0.0.tar.gz::https://github.com/precice/python-bindings/archive/v3.0.0.0.tar.gz + sha512sums = 74181dbfaee6e87995e81ba66698ed534203426507929a83dad4d1f10d6d8bb9eabdd577708eb87565812f10a87862791b8641feffc2a20c1e507ba72256954f pkgname = python-pyprecice @@ -3,36 +3,26 @@ _base=pyprecice pkgname=python-${_base} pkgdesc="Python language bindings for the preCICE coupling library" -pkgver=2.5.0.4 +pkgver=3.0.0.0 pkgrel=1 arch=(x86_64) url="https://github.com/${_base/py/}/python-bindings" -license=(LGPL3) +license=(LGPL-3.0-or-later) depends=(precice python-mpi4py) makedepends=(python-build python-installer python-setuptools cython python-pkgconfig python-wheel) source=(python-bindings-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) -sha512sums=('cd0397c18a769d1294ff3223b6b877686e9280611ff995115296cabecae4c31f4ec42e1af343a619603483160eeff014bbf592e43a59a74f2ac2aa9042963faa') +sha512sums=('74181dbfaee6e87995e81ba66698ed534203426507929a83dad4d1f10d6d8bb9eabdd577708eb87565812f10a87862791b8641feffc2a20c1e507ba72256954f') build() { cd python-bindings-${pkgver} - python setup.py clean --all - python setup.py \ - build_ext \ - --include-dirs=/usr/include \ - --library-dirs=/usr/lib \ - --inplace python -m build --wheel --skip-dependency-check --no-isolation } -# check() { -# if [ -z "$(ldconfig -p | grep libcuda.so.1)" ]; then -# export OMPI_MCA_opal_warn_on_missing_libcuda=0 -# fi -# cd python-bindings-${pkgver} -# # FIXME: https://github.com/precice/python-bindings/issues/1 -# python setup.py test -# } - +check() { + cd python-bindings-${pkgver} + # FIXME: https://github.com/precice/python-bindings/issues/1 + python setup.py test +} package() { cd python-bindings-${pkgver} PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl |