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-10-21 18:33:57 -0500
commit309acb80fc6246014790ee14a7c289068a6c294b (patch)
treef688e5047dc1e333397defce418b92c835848a96 /user/py3-jinja2/APKBUILD
parent33c08eabf654ed03061c8cb2b06a44de5b53c8c4 (diff)
downloadpackages-309acb80fc6246014790ee14a7c289068a6c294b.tar.gz
packages-309acb80fc6246014790ee14a7c289068a6c294b.tar.bz2
packages-309acb80fc6246014790ee14a7c289068a6c294b.tar.xz
packages-309acb80fc6246014790ee14a7c289068a6c294b.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"