diff options
author | Daniel Bershatsky | 2023-10-06 14:15:45 +0300 |
---|---|---|
committer | Daniel Bershatsky | 2023-10-06 14:15:45 +0300 |
commit | 809c4bae710da70826ca079c7c44ba85630d0ecc (patch) | |
tree | f5d07c74bbdbf173d168df62a85a38dfc9982b5a | |
parent | 8557abfabe10b7fa5ce67d4fa0a385bd14166663 (diff) | |
download | aur-809c4bae710da70826ca079c7c44ba85630d0ecc.tar.gz |
Enforce JAX_RELEASE version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-jax pkgdesc = Differentiate, compile, and transform Numpy code. pkgver = 0.4.17 - pkgrel = 1 + pkgrel = 2 url = https://github.com/google/jax/ arch = any groups = jax @@ -2,7 +2,7 @@ pkgname='python-jax' pkgver=0.4.17 -pkgrel=1 +pkgrel=2 pkgdesc='Differentiate, compile, and transform Numpy code.' arch=('any') url='https://github.com/google/jax/' @@ -19,6 +19,10 @@ makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel source=("jax-${pkgver}.tar.gz::https://github.com/google/jax/archive/refs/tags/jax-v${pkgver}.tar.gz") sha256sums=('31d8e55b6c2655f57d4f5214e4620834d484fcdd783e33f51ec83fa2a4700918') +prepare() { + export JAX_RELEASE=$pkgver +} + build() { cd jax-jax-v$pkgver python -m build -n -w @@ -28,5 +32,5 @@ package() { python -m installer \ --compile-bytecode 1 \ --destdir $pkgdir \ - jax-jax-v$pkgver/dist/jax-*.whl + jax-jax-v$pkgver/dist/jax-$pkgver-*.whl } |