# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=py3-gnupg pkgver=0.4.7 pkgrel=0 pkgdesc="A Python3 wrapper for the Gnu Privacy Guard (GPG or GnuPG)" url="https://gnupg.readthedocs.io/en/latest/" arch="noarch" license="BSD-3-Clause" depends="python3 gnupg" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://pypi.io/packages/source/p/python-gnupg/python-gnupg-$pkgver.tar.gz" builddir="$srcdir/python-gnupg-$pkgver" build() { python3 setup.py build } check() { NO_EXTERNAL_TESTS=no pytest -v } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="e590778affd3f864bac2221e1ce7c4a37ba257e7112e023d70617f3f3c7597dbeb2974db0ed611b2fc75a071678ae8856be4a3b3f48428a12b42c2f1125fdce5 python-gnupg-0.4.7.tar.gz"