python-Jinja2: update to 2.9.5
This commit is contained in:
parent
97069e33b0
commit
acd783d193
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-Jinja2'
|
||||
pkgname=python-Jinja2
|
||||
version=2.8.1
|
||||
version=2.9.5
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="Jinja2-${version}"
|
||||
|
@ -13,9 +13,14 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|||
homepage="http://jinja.pocoo.org/"
|
||||
license="3-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
|
||||
checksum=35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891
|
||||
checksum=702a24d992f856fa8d5a7a36db6128198d0c21e1da34448ca236c42e92384825
|
||||
|
||||
post_install() {
|
||||
# these files are valid only on Python 3.6+
|
||||
for py_sitelib in $py2_sitelib $py3_sitelib; do
|
||||
rm -f ${DESTDIR}/${py_sitelib}/jinja2/asyncsupport.py
|
||||
rm -f ${DESTDIR}/${py_sitelib}/jinja2/asyncfilters.py
|
||||
done
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue