# Maintainer: Will Handley (aur.archlinux.org/account/wjhandley) pkgname=python-fgivenx _name=${pkgname#python-} pkgver=2.4.0 pkgrel=2 pkgdesc="Functional Posterior Plotter" arch=(any) url="https://github.com/williamjameshandley/fgivenx" license=('MIT') groups=() depends=(python-numpy python-matplotlib python-scipy python-joblib python-mpi4py python-tqdm) makedepends=(python-build python-installer) provides=() conflicts=() replaces=() backup=() options=(!emptydirs) install= source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=(c7111323fb98c6eef4efc44bade90961256b3068faf20f4c09f1678dc770d912) build() { cd "$srcdir/$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$srcdir/$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }