~dricottone/huttese-apk

ref: 68e2b4a1d299bc5e3e788416a2ec0fe1f3e1225f huttese-apk/sr.ht/py3-pgpy/APKBUILD -rw-r--r-- 769 bytes
68e2b4a1 — Drew DeVault Actually fix old package removal 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=PGPy
pkgname=py3-pgpy
pkgver=0.4.1
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="py-setuptools"
source="https://github.com/SecurityInnovation/PGPy/releases/download/${pkgver}/PGPy-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="45fbf7c65af7e0b86bd56275ed7af020506774703bbca08adf742cccaf84dbb40c7883fbffe85d2298a4d70013c74ea97c60aa1a1181acd6c0ea6f8067065ec2  PGPy-0.4.1.tar.gz"