# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-josepy _pkgname=josepy pkgver=1.2.0 pkgrel=2 pkgdesc="JOSE protocol implementation in Python" url="https://github.com/jezdez/josepy" arch="noarch" license="Apache-2.0" depends="py3-cryptography py3-openssl py3-setuptools py3-six" makedepends="libffi-dev python3-dev" source="$_pkgname-$pkgver.tar.gz::https://github.com/certbot/josepy/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-josepy # Backwards compatibility provides=py-josepy=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="25a360b3893e1c1c524440b02e0af66c6dfefd756cebdad1c27ae8a82461200448a9c8fc835747e160cbcbb63261a4f79d7765eaae5e0b19feea5bf84d5e8896 josepy-1.2.0.tar.gz"