pkgname=python-smartypants pkgver=2.0.1 pkgrel=1 pkgdesc="Python with the SmartyPants" arch=('x86_64') url="https://github.com/leohemsted/smartypants.py" license=('BSD-2-Clause') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://github.com/leohemsted/smartypants.py/archive/v${pkgver}/${pkgname#*-}.py-${pkgver}.tar.gz) sha256sums=(b98191911ff3b4144ef8ad53e776a2d0ad24bd508a905c6ce523597c40022773) build() { cd ${pkgname#*-}.py-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}.py-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }