summaryrefslogtreecommitdiff
path: root/user/py3-jinja2/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-02-02 08:23:56 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:29 +0000
commit935b8620c5e6bdc437edef7948547605c8afa1e4 (patch)
tree1c0dfbbf22b29b658cd8384b13d48c17d113f7d4 /user/py3-jinja2/APKBUILD
parentf2cf81257cc7a5ddca3f317cfaaf5cf63202a63d (diff)
downloadpackages-935b8620c5e6bdc437edef7948547605c8afa1e4.tar.gz
packages-935b8620c5e6bdc437edef7948547605c8afa1e4.tar.bz2
packages-935b8620c5e6bdc437edef7948547605c8afa1e4.tar.xz
packages-935b8620c5e6bdc437edef7948547605c8afa1e4.zip
user/py3-jinja2: bump { 2.10.3 --> 3.0.3 }. update dependencies. fix test invocation.
Diffstat (limited to 'user/py3-jinja2/APKBUILD')
-rw-r--r--user/py3-jinja2/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/user/py3-jinja2/APKBUILD b/user/py3-jinja2/APKBUILD
index 9cd28a69e..9e71c2713 100644
--- a/user/py3-jinja2/APKBUILD
+++ b/user/py3-jinja2/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
-# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
+# Maintainer: Zach van Rijn <me@zv.io>
pkgname=py3-jinja2
_pkgname=Jinja2
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
-pkgver=2.10.3
+pkgver=3.0.3
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"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-markupsafe"
-makedepends="python3-dev"
+makedepends="python3-dev py3-iniconfig py3-toml"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -25,11 +25,11 @@ build() {
}
check() {
- PYTHONPATH="$builddir:$PYTHONPATH" pytest
+ PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="c51c335450f46a467b0d40de1a51c149bdb4eb961ea888b64ff141e11b592b32e05040bfd9aa4a39892dda8d9d8cbf5a35b386ea16a247484d31b5b52eda1b8f py3-jinja2-2.10.3.tar.gz"
+sha512sums="51703d396ffe35155ed216922294441e20d44cd1ab69674140146375d4964654cdb32b38945f22916e0de917bbc0cf406cb680c2e569f9225dbe1fe4063be0b0 py3-jinja2-3.0.3.tar.gz"