~dricottone/huttese-apk

ref: 2f89a5ea7b03c92921a1492c1637eaa1063a3dd7 huttese-apk/sr.ht/py3-pgpy/APKBUILD -rw-r--r-- 818 bytes
2f89a5ea — Drew DeVault lists.sr.ht: upgrade to 0.48.19 3 years ago
                                                                                
2effb6a1 Drew DeVault
f9216d16 Drew DeVault
1e9af848 Drew DeVault
a755caa1 Drew DeVault
2effb6a1 Drew DeVault
f9216d16 Drew DeVault
a755caa1 Drew DeVault
f9216d16 Drew DeVault
2effb6a1 Drew DeVault
1e9af848 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.3
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"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="5f27292af764164dc15cd491a297c4a41b3ce9c56e50cd8c71da05b4a886d402d530674592db8e8ea02f323d760342d9d69bfeb88e6109c4345bd701ee285587  PGPy-0.5.3.tar.gz"