# Maintainer: Philipp A. _name=scanpydoc pkgname=python-$_name pkgver=0.4.4 pkgrel=1 pkgdesc='A series of Sphinx extensions to get easy to maintain, numpydoc style documentation.' arch=(any) url="https://github.com/theislab/$_name" license=(GPL3) depends=(python-sphinx python-get_version) _pyarch=py3 _wheel="${_name/-/_}-$pkgver-$_pyarch-none-any.whl" source=("https://files.pythonhosted.org/packages/$_pyarch/${_name::1}/$_name/$_wheel") sha256sums=('995babed373c4a5921c40d0e393babcab2b56a97746b92ac42f24fcbd6418fdc') noextract=("$_wheel") package() { local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages" mkdir -p "$site" unzip "$_wheel" -d "$site" find "$site" -type f -exec chmod 644 {} \; }