# Maintainer: GI_Jack pkgname=python-aadict _pkgname=aadict pkgver=0.2.3 pkgrel=2 _file= pkgdesc="An auto-attribute dict (and a couple of other useful dict functions), for Python" url="https://pypi.org/project/aadict/" arch=('any') license=('GPLv3') depends=('python') makedepends=('python-build' 'python-installer' 'python-wheel') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") sha256sums=('a77328ac55dbb5735da99441870251befe135f687ab707a7a178561363b27704') build() { cd "${_pkgname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${_pkgname}-${pkgver}" python -m installer --destdir="$pkgdir" dist/*.whl }