# Contributor: Rejah Rehim # Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=py3-python-jwt _pkgname=python_jwt pkgver=4.1.0 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-gpep517 py3-setuptools py3-wheel" subpackages="$pkgname-doc $pkgname-pyc" source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md } sha512sums=" fb6f39723c60659e09915ee36b2742974d73353e9026c1ac536d3256bd7bff55b596b68af51a882a7e8c52b9caf960c3888a417cc0361d0edd313f9167fabb55 python_jwt-4.1.0.tar.gz "