# Maintainer: Will Handley (aur.archlinux.org/account/wjhandley) pkgname=python-pywwt _name=${pkgname#python-} pkgver=0.22.0 pkgrel=1 pkgdesc="Python interface to the Windows and Web client of WorldWide Telescope" arch=(any) url="https://github.com/WorldWideTelescope/pywwt" license=('BSD') depends=('python-numpy' 'python-matplotlib' 'python-requests' 'python-beautifulsoup4' 'python-lxml' 'python-ipywidgets' 'python-traitlets' 'python-qtpy' 'python-flask' 'python-six') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('af9a609692e2d4422db3c80ab50fc2fbbf1b7821e32b1a76535a9727de82b475') build() { cd "$srcdir/$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$srcdir/$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }