# Maintainer: Will Handley (aur.archlinux.org/account/wjhandley) _pkgname=getdist pkgname=python-$_pkgname-git pkgver=r318.9949a14 pkgrel=1 pkgdesc="MCMC sample analysis, kernel densities, plotting, and GUI" arch=(any) url="https://github.com/cmbant/getdist" license=() groups=() depends=(python-numpy python-matplotlib python-six python-scipy pyside2 python-pandas) makedepends=(git python-setuptools) provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") replaces=() backup=() options=() install= source=("${pkgname%-git}::git+$url.git") noextract=() md5sums=(SKIP) pkgver() { cd "$srcdir/${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$srcdir/${pkgname%-git}" python -m build --wheel --no-isolation } package() { cd "$srcdir/${pkgname%-git}" python -m installer --destdir="$pkgdir" dist/*.whl }