contrib/python3-jinja2/Pkgfile

17 lines
565 B
Plaintext
Raw Normal View History

# Description: A simple pythonic template language written in Python
# URL: https://palletsprojects.com/p/jinja/
# Maintainer: Tim Biermann, tbier at posteo dot de
2024-05-06 23:12:22 +02:00
# Depends on: python3-babel python3-markupsafe python3-build python3-wheel python3-installer
name=python3-jinja2
2024-05-06 23:12:22 +02:00
version=3.1.4
release=1
2024-05-06 23:12:22 +02:00
source=(https://pypi.org/packages/source/j/jinja2/jinja2-$version.tar.gz)
build() {
2024-05-06 23:12:22 +02:00
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
}