backports/py3-python-jwt: upgrade to 4.0.0

This commit is contained in:
Antoine Martin 2023-05-05 01:20:32 -04:00
parent 3ebf12edae
commit 48ef0fdfa0
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -2,7 +2,7 @@
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com> # Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-python-jwt pkgname=py3-python-jwt
_pkgname=python_jwt _pkgname=python_jwt
pkgver=3.3.0 pkgver=4.0.0
pkgrel=1 pkgrel=1
pkgdesc="Module for generating and verifying JSON Web Tokens" pkgdesc="Module for generating and verifying JSON Web Tokens"
options="!check" # no test suite options="!check" # no test suite
@ -11,7 +11,7 @@ arch="noarch"
license="MIT" license="MIT"
depends="python3 py3-jwcrypto" depends="python3 py3-jwcrypto"
makedepends="py3-setuptools" makedepends="py3-setuptools"
subpackages="$pkgname-doc" subpackages="$pkgname-doc $pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver builddir="$srcdir"/$_pkgname-$pkgver
@ -20,12 +20,11 @@ build() {
} }
package() { package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" python3 setup.py install --skip-build --root="$pkgdir"
install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md
} }
sha512sums=" sha512sums="
dfc5963eb3d374d44711ac42bb983c4cc44ad2e2231792991207d2ef15192bb8b686f0b76e3a324e19e1669f4c4bc06f27871e5072a22046169c54f6916e6fc1 python_jwt-3.3.0.tar.gz 94c6ebd7738da3087b7192f3eff3e6af3aa7dce3f38cd0e001261e61a5aa42e03fa08d76bb56b7d033ee64723a428bfbad480b6d46934c9b1ef446f613b1cbe0 python_jwt-4.0.0.tar.gz
" "