# Maintainer: Will Handley (aur.archlinux.org/account/wjhandley) pkgname=python-anesthetic _name=${pkgname#python-} pkgver=2.8.12 pkgrel=1 pkgdesc="nested sampling post-processing" arch=(any) url="https://github.com/handley-lab/anesthetic" license=(MIT) groups=() depends=(python-numpy python-matplotlib python-scipy python-pandas) makedepends=(python-build python-installer) provides=(anesthetic) conflicts=() replaces=() backup=() options=(!emptydirs) install= source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('2cbab1ea76e3a47f3c05c39bccf331b2b6f014b3e4e0d0c946ea039ec24d1244') build() { cd "$srcdir/$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$srcdir/$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }