pkgname=python-typogrify pkgver=2.0.7 pkgrel=1 pkgdesc="filters to make caring about typography on the web a bit easier" arch=('x86_64') url="https://github.com/mintchaos/typogrify" license=('BSD') depends=('python' 'python-smartypants') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://files.pythonhosted.org/packages/source/t/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }