contrib/python3-jinja2/Pkgfile

17 lines
565 B
Plaintext

# Description: A simple pythonic template language written in Python
# URL: https://palletsprojects.com/p/jinja/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-babel python3-markupsafe python3-build python3-wheel python3-installer
name=python3-jinja2
version=3.1.4
release=1
source=(https://pypi.org/packages/source/j/jinja2/jinja2-$version.tar.gz)
build() {
cd jinja2-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}