* update python-josepy to 1.14.0-4

This commit is contained in:
Alexander Baldeck 2024-12-05 07:18:53 +01:00
parent eeee281839
commit b5f2fa0b55
2 changed files with 7 additions and 6 deletions

View File

@ -1,10 +1,10 @@
pkgbase = python-josepy pkgbase = python-josepy
pkgdesc = JOSE protocol implementation in Python pkgdesc = JOSE protocol implementation in Python
pkgver = 1.14.0 pkgver = 1.14.0
pkgrel = 2 pkgrel = 4
url = https://github.com/certbot/josepy url = https://github.com/certbot/josepy
arch = any arch = any
license = Apache license = Apache-2.0
checkdepends = python-pytest checkdepends = python-pytest
makedepends = git makedepends = git
makedepends = python-build makedepends = python-build

View File

@ -4,11 +4,11 @@
pkgname=python-josepy pkgname=python-josepy
pkgver=1.14.0 pkgver=1.14.0
pkgrel=2 pkgrel=4
pkgdesc='JOSE protocol implementation in Python' pkgdesc='JOSE protocol implementation in Python'
arch=('any') arch=(any)
url='https://github.com/certbot/josepy' url='https://github.com/certbot/josepy'
license=('Apache') license=('Apache-2.0')
depends=( depends=(
'python' 'python'
'python-cryptography' 'python-cryptography'
@ -54,7 +54,8 @@ check() {
# install to temporary location # install to temporary location
python -m installer --destdir=test_dir dist/*.whl python -m installer --destdir=test_dir dist/*.whl
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
PYTHONPATH="test_dir/$site_packages:$PYTHONPATH" pytest -v PYTHONPATH="test_dir/$site_packages:$PYTHONPATH" pytest -v \
-W ignore::DeprecationWarning
} }
package() { package() {