1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
3 # Contributor: Sven Klomp <mail@klomp.eu>
6 pkgdesc="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)"
10 url="https://docs.red-dove.com/python-gnupg/"
12 depends=(gnupg python)
13 makedepends=(python-build python-installer python-setuptools python-wheel)
14 checkdepends=(python-pytest)
15 source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz{,.asc})
16 sha512sums=('cfd302257b53fdc9318004db7323ea5bf4bddc055b65b24386a1ecb27cd476fdf1bc771adcdde70a4eef442982a0c57dc832b92274bbe5ba16cbdf3247f4e77a'
18 b2sums=('0ae7e8ff669f51b47410a7a5aef16ca6792db18f28c59d3ce6615d0852eba1e201e3d000d1f644ffc1a362a74ee56c0930dd5814c23238137d6d8696319fd130'
20 validpgpkeys=('CA749061914EAC138E66EADB9147B477339A9B86') # Vinay Sajip (CODE SIGNING KEY) <vinay_sajip@yahoo.co.uk>
24 python -m build --wheel --no-isolation
29 export NO_EXTERNAL_TESTS='true'
35 python -m installer --destdir="$pkgdir" dist/*.whl
36 install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
37 install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"