summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be7a14559bc3dea75d5d749656bf032c5fdea1cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Sam Linnfer <littlelightlittlefire@gmail.com>

pkgname='python-arviz'
pkgver=0.23.1
pkgrel=1
pkgdesc="Exploratory analysis of Bayesian models with Python"
url="https://github.com/arviz-devs/arviz"
arch=('any')
license=('Apache License 2.0')
depends=('python>=3.10' 'python-numpy' 'python-scipy' 'python-pandas' 'python-xarray' 'python-h5py' 'python-xarray-einstats' 'python-matplotlib' 'python-h5netcdf' 'python-typing_extensions')
makedepends=(python-build python-installer python-wheel)
source=("$pkgname-$pkgver.tar.gz::https://github.com/arviz-devs/arviz/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('88718a9d8eaf29044617a675864aa153c9fdc33dddddcb855ffe327bd10daea3')

build() {
    cd "arviz-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "arviz-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}