~dricottone/huttese-apk

ref: 38f92e5a0b95e55fabc415268e5ab5b28223341b huttese-apk/sr.ht/py3-pgpy/APKBUILD -rw-r--r-- 808 bytes
38f92e5a — Drew DeVault todo.sr.ht: add -nginx subpackage 4 years ago
                                                                                
2effb6a1 Drew DeVault
f9216d16 Drew DeVault
3495809c Drew DeVault
f7d0500b Drew DeVault
2effb6a1 Drew DeVault
f9216d16 Drew DeVault
2effb6a1 Drew DeVault
3495809c 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pgpy
_pyname=PGPy
pkgver=0.5.2
pkgrel=2
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"
_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="a55a3decac7db2a52694ec1c3aa74b491b3610a0742402490c88f4df8c3c83c396f3cc64092a059b62a9b4d4635b8d57c9b8cdf3d171f5456df24bbfdacaba36  PGPy-0.5.2.tar.gz"