pkgname=python-mako pkgver=1.3.8 pkgrel=1 pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages" arch=('x86_64') url="https://www.makotemplates.org/" license=('MIT') depends=('python' 'python-markupsafe') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://files.pythonhosted.org/packages/source/M/Mako/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(577b97e414580d3e088d47c2dbbe9594aa7a5146ed2875d4dfa9075af2dd3cc8) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }