# Contributor: prspkt # Maintainer: prspkt pkgname=py3-jwcrypto _pkgname=jwcrypto pkgver=0.6.0 pkgrel=0 pkgdesc="Python module implementing JOSE Web standards" url="https://github.com/latchset/jwcrypto" arch="noarch" license="LGPL-3.0-only" depends="py3-cryptography" makedepends="py3-setuptools" checkdepends="py3-pytest" subpackages="$pkgname-doc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { cd "$builddir"/$_pkgname py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="ed72f4be0f19afe448048e4124d5cbdd227b66b2b0af375cb1ab6c631c6e0d638f40cc1d756eb052176934eb919fa16b40bf51b5380b9227b162cfb6d3f5256e jwcrypto-0.6.0.tar.gz"