# Maintainer: Will Handley (aur.archlinux.org/account/wjhandley) pkgname=python-cobaya _name=${pkgname#python-} pkgver=3.3.2 pkgrel=1 pkgdesc="Code for Bayesian Analysis in Cosmology" arch=(any) url="https://github.com/CobayaSampler/$_name" license=() groups=() depends=(python-numpy python-scipy python-pytz python-six python-dateutil python-pandas python-yaml wget python-pybobyqa python-kiwisolver python-pyparsing python-cycler python-matplotlib python-getdist python-fuzzywuzzy pyside2) 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=(650c5a5d0fef988672e43ad10511249fb5eaa2792b6d115f1d5aad177bb16245) build() { cd "$srcdir/$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$srcdir/$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }