~dricottone/huttese-apk

ref: 1511e47d8f419624416d31e2675f67f2713f03f8 huttese-apk/sr.ht/py3-pgpy/APKBUILD -rw-r--r-- 769 bytes
1511e47d — Drew DeVault Fix pkgkit build -r/-u inconsistency 5 years ago
                                                                                
2effb6a1 Drew DeVault
04866bce Drew DeVault
2effb6a1 Drew DeVault
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"