backports/py3-gitlab: upgrade to 3.14.0

This commit is contained in:
Antoine Martin 2023-05-05 01:18:01 -04:00
parent c965ca0431
commit 8aa6acdcad
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,7 +1,7 @@
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=py3-gitlab
_pyname=${pkgname/py3/python}
pkgver=3.12.0
pkgver=3.14.0
pkgrel=1
pkgdesc="Python wrapper for Gitlab's API"
url="https://github.com/python-gitlab/python-gitlab"
@ -18,8 +18,7 @@ makedepends="
py3-myst-parser
"
checkdepends="py3-pytest py3-responses"
option="!check"
subpackages="$pkgname-doc"
subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/python-gitlab/python-gitlab/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
@ -32,7 +31,7 @@ build() {
check() {
sed -i "s|/usr/bin/false|/bin/false|g" tests/unit/test_config.py
python3 -m venv --system-site-packages testenv
python3 -m venv --clear --without-pip --system-site-packages testenv
testenv/bin/python3 -m installer dist/*.whl
testenv/bin/python3 -m pytest --ignore=tests/functional/
}
@ -45,5 +44,5 @@ package() {
}
sha512sums="
25229542fcb790dfc96bb5f946628136dce342ae825edc7ed318651dac9840ec16f896198c357a4751bde8cda7ee7abb3fbc1f4e4abfa5a3cce7bc61f956f2e6 py3-gitlab-3.12.0.tar.gz
01a41e6f4b9e316672b83270fce6fc30e69e9a0047644d04b27587eebda06dc2c575649367d9dc99b84782e940f236a07098a78d7c7662b555fd901e32d35176 py3-gitlab-3.14.0.tar.gz
"