2021-10-16 20:40:27 +02:00
|
|
|
# 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
|
2021-10-16 20:40:27 +02:00
|
|
|
|
|
|
|
name=python3-jinja2
|
2024-05-06 23:12:22 +02:00
|
|
|
version=3.1.4
|
2021-10-16 20:40:27 +02:00
|
|
|
release=1
|
2024-05-06 23:12:22 +02:00
|
|
|
source=(https://pypi.org/packages/source/j/jinja2/jinja2-$version.tar.gz)
|
2021-10-16 20:40:27 +02:00
|
|
|
|
|
|
|
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
|
2021-10-16 20:40:27 +02:00
|
|
|
}
|