diff options
author | Carlos Aznarán | 2024-01-11 00:06:59 -0500 |
---|---|---|
committer | Carlos Aznarán | 2024-01-11 00:06:59 -0500 |
commit | 5592118907f20a1917a65e8a432cfa490f0f084f (patch) | |
tree | edc272d3c2f00e4a4bde66cfd80b3e205a304b79 /PKGBUILD | |
parent | 98b281fa96d68e0fe58005fe2a8a6cd37e2d63f6 (diff) | |
download | aur-5592118907f20a1917a65e8a432cfa490f0f084f.tar.gz |
Bump version to 0.11.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -2,27 +2,27 @@ _base=equinox pkgname=python-${_base} pkgdesc="Elegant easy-to-use neural networks in JAX" -pkgver=0.11.2 +pkgver=0.11.3 pkgrel=1 arch=(any) url="https://github.com/patrick-kidger/${_base}" license=(Apache) depends=(python-jax python-jaxtyping python-typing_extensions) makedepends=(python-build python-installer python-hatchling python-wheel) -# checkdepends=(python-pytest python-beartype python-optax) +checkdepends=(python-pytest python-beartype python-optax) source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) -sha512sums=('582ea6877571dc6fcd87e922235c5c2a362ccd54f7b12627eebcc20c4f7140c204e3cf88bc5654d9931ffdc847b3032465b816079eb4a1199ca0db4dbc6e87f6') +sha512sums=('1e393580b9444f5b9f37fcebf5bf5668c9e2ef03e9cedc464f2205d6680b3c41fb4d434fcd2d9a36dd024efebf484fe93a44a8af7f86237c9f3766fd29f511ea') build() { cd ${_base}-${pkgver} python -m build --wheel --skip-dependency-check --no-isolation } -# check() { -# python -m venv --system-site-packages test-env -# test-env/bin/python -m installer ${_base}-${pkgver}/dist/*.whl -# test-env/bin/python -m pytest ${_base}-${pkgver}/tests -# } +check() { + python -m venv --system-site-packages test-env + test-env/bin/python -m installer ${_base}-${pkgver}/dist/*.whl + test-env/bin/python -m pytest ${_base}-${pkgver}/tests +} package() { cd ${_base}-${pkgver} |