summaryrefslogtreecommitdiff
path: root/user/py3-jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-jinja2')
-rw-r--r--user/py3-jinja2/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/user/py3-jinja2/APKBUILD b/user/py3-jinja2/APKBUILD
index 71a4c2313..457262361 100644
--- a/user/py3-jinja2/APKBUILD
+++ b/user/py3-jinja2/APKBUILD
@@ -4,7 +4,7 @@ pkgname=py3-jinja2
_pkgname=Jinja2
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
-pkgver=2.10
+pkgver=2.10.1
pkgrel=0
pkgdesc="A small but fast and easy to use stand-alone template engine written in pure python."
url="https://pypi.python.org/pypi/Jinja2"
@@ -16,20 +16,20 @@ checkdepends="py3-pytest py3-markupsafe"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
+# secfixes: jinja2
+# 2.10.1-r0:
+# - CVE-2019-10906
+
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
PYTHONPATH="$builddir:$PYTHONPATH" pytest
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
-
}
-sha512sums="0ea7371be67ffcf19e46dfd06523a45a0806e678a407d54f5f2f3e573982f0959cf82ec5d07b203670309928a62ef71109701ab16547a9bba2ebcdc178cb67f2 py3-jinja2-2.10.tar.gz"
+sha512sums="a00153a0e07bb7d67f301b4eaf7af657726a1985e9ffc7ae2d76bdbb4c062d672efc8065e398767e1039b18a483a0092e206deac91e4047aad64920b56869623 py3-jinja2-2.10.1.tar.gz"