~dricottone/huttese-apk

ref: 0d871512b8f314aa7232f78dffdd639b1ce45edb huttese-apk/sr.ht/py3-pgpy/APKBUILD -rw-r--r-- 808 bytes
0d871512 — Drew DeVault py3-beautifulsoup4: import from testing 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pgpy
_pyname=PGPy
pkgver=0.4.3
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"
_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="fd0ccd5d619e96d1aefbe99fed4d634140ba14d2faff228b6e2aaf60b3c157f46c2f1d06955dc4b0bfe4ef511ce5f66a328121ef4f7563496c66461924e51eb6  PGPy-0.4.3.tar.gz"