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