diff --git a/lfs/python-jinja2-3.1.5.PKGBUILD b/lfs/python-jinja2-3.1.6.PKGBUILD similarity index 78% rename from lfs/python-jinja2-3.1.5.PKGBUILD rename to lfs/python-jinja2-3.1.6.PKGBUILD index 939f7c8..7d72cc0 100644 --- a/lfs/python-jinja2-3.1.5.PKGBUILD +++ b/lfs/python-jinja2-3.1.6.PKGBUILD @@ -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/" }