update to 12.4-systemd: python-jinja2-3.1.6

This commit is contained in:
2025-12-22 05:09:33 -05:00
parent 15f807ccb4
commit 426b79693e

View File

@@ -1,19 +1,20 @@
pkgname=python-jinja2
_name="${pkgname#python-}"
pkgver=3.1.5
pkgver=3.1.6
pkgdesc="A simple pythonic template language written in Python"
arch=('any')
homepage="https://palletsprojects.com/p/jinja/"
license=('BSD-3-Clause')
sources=("${_name}-${pkgver}.tar.gz")
urls=("https://pypi.org/packages/source/J/Jinja2/${sources[0]}")
md5sums=("083d64f070f6f1b5f75971ae60240785")
md5sums=("66d4c25ff43d1deaf9637ccda523dec8")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
export PYTHONDONTWRITEBYTECODE=1
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
}
@@ -22,6 +23,6 @@ src_check() {
}
src_install() {
pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist Jinja2
pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --ignore-installed --root ${pkgdir} --find-links dist Jinja2
install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
}