# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pgpy
_pyname=PGPy
pkgver=0.5.4
pkgrel=0
pkgdesc="Pretty Good Privacy for Python - a pure Python OpenPGP implementation"
url="https://github.com/SecurityInnovation/PGPy"
arch="noarch"
license="BSD"
depends="py3-cryptography py3-six py3-asn1"
makedepends="py3-setuptools py3-wheel"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="bf19a72d5113cb88e6538d515a06a115a7f329ee1331553100140848226773db0a539a0cbe480f04b0f26cd587fc0c3c8e5fe392e2421d6e6210e86bd0ab70c1 PGPy-0.5.4.tar.gz"