# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=py3-gnupg pkgver=0.4.4 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" 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 python3 test_gnupg.py } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="d643447833248ed35c9837482f8ec7cce478b21374d4fd7ec444008433f85898f6ab0026b9c6dc0deb9730e98ec8edcfc5ed08359776a3220adf8f44f266b199 python-gnupg-0.4.4.tar.gz"