ayaports/backports/py3-python-jwt/APKBUILD
2023-01-12 18:48:03 +00:00

31 lines
984 B
Text

# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-python-jwt
_pkgname=python_jwt
pkgver=3.3.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-setuptools"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md
}
sha512sums="
dfc5963eb3d374d44711ac42bb983c4cc44ad2e2231792991207d2ef15192bb8b686f0b76e3a324e19e1669f4c4bc06f27871e5072a22046169c54f6916e6fc1 python_jwt-3.3.0.tar.gz
"