pkgname=python-jinja2 pkgver=3.1.5 pkgrel=1 pkgdesc="A simple pythonic template language written in Python" arch=('x86_64') url="https://jinja.palletsprojects.com/en/3.1.x/" license=('BSD-3-Clause') depends=('python' 'python-markupsafe') makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'python-flit-core') source=(https://github.com/pallets/jinja/releases/download/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(8fefff8dc3034e27bb80d67c671eb8a9bc424c0ef4c0826edbff304cceff43bb) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }