# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=py3-gnupg pkgver=0.5.0 pkgrel=2 pkgdesc="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 py3-wheel py3-gpep517 py3-installer" checkdepends="py3-pytest" source="https://pypi.io/packages/source/p/python-gnupg/python-gnupg-$pkgver.tar.gz" builddir="$srcdir/python-gnupg-$pkgver" options="!check" # hang build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages testenv testenv/bin/python3 -m installer dist/*.whl testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" cfd302257b53fdc9318004db7323ea5bf4bddc055b65b24386a1ecb27cd476fdf1bc771adcdde70a4eef442982a0c57dc832b92274bbe5ba16cbdf3247f4e77a python-gnupg-0.5.0.tar.gz "