# Contributor: Eivind Uggedal # Maintainer: Michał Polański pkgname=py3-jwt pkgver=2.3.0 pkgrel=0 pkgdesc="Python3 JSON Web Token implementation" url="https://github.com/jpadilla/pyjwt" license="MIT" arch="noarch" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://github.com/jpadilla/pyjwt/archive/$pkgver/py3-jwt-$pkgver.tar.gz" builddir="$srcdir/pyjwt-$pkgver" replaces="py-jwt" # Backwards compatibility provides="py-jwt=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --root="$pkgdir" --skip-build } sha512sums=" 1178ea8067f206c69ba03c6124f2dd0287fb014aa4e81472657992b547bc54c783b0e04fc2e285367e6c673394546cb2c50afee6b4d75c020d18925438f324b6 py3-jwt-2.3.0.tar.gz "