~dricottone/huttese-apk

ref: d51c495478847c4412f8dbd8985d8d35f782ad79 huttese-apk/pkgsrc/py3-pgpy/APKBUILD -rw-r--r-- 992 bytes
d51c4954Dominic Ricottone Batch of updates 2 years ago
                                                                                
2effb6a1 Drew DeVault
f9216d16 Drew DeVault
e78789ca Drew DeVault
2effb6a1 Drew DeVault
f9216d16 Drew DeVault
a755caa1 Drew DeVault
f9216d16 Drew DeVault
f9216d16 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
30
31
32
33
34
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pgpy
_pyname=PGPy
pkgver=0.5.4
pkgrel=1
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
	cryptography.patch
"
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
2c2db2238d9f171c795fc1e2d2ea96e92313cb2df045fbbd38f2d2642eae96e323637fbaa2528b1f9160138186c07dbfd8cfca7a179848dd5c39b3d63f20f6a4  cryptography.patch
"