# Maintainer: Kewl pkgname='python-quantiphy' _pkgname=${pkgname#python-} pkgver=2.18.0 pkgrel=1 pkgdesc="Offers support for the pairing of a number and a unit of measure" arch=('any') depends=() makedepends=(python-build python-installer python-wheel python-flit-core) url="https://github.com/KenKundert/$_pkgname" license=('GPL3') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha256sums=('eca14abfa83c3171cea7212a1a11fd6e004d029e5500b342b260b48c72f50d66') build() { cd "$_pkgname-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_pkgname-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }