~dricottone/huttese-apk

ref: 0bebfb7b6899d5c4a3582bcb1802b04134c0f5e8 huttese-apk/sr.ht/py3-sshpubkeys/APKBUILD -rw-r--r-- 799 bytes
0bebfb7b — Drew DeVault builds.sr.ht: cd builddir? 3 years ago
                                                                                
bdb848ee Drew DeVault
f9216d16 Drew DeVault
35b9ca70 Steven Guikal
bdb848ee Drew DeVault
35b9ca70 Steven Guikal
f9216d16 Drew DeVault
bdb848ee Drew DeVault
35b9ca70 Steven Guikal
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-sshpubkeys
_pyname=sshpubkeys
pkgver=3.3.1
pkgrel=0
pkgdesc="OpenSSH public key parser for Python"
url="https://github.com/ojarva/python-sshpubkeys"
arch="noarch"
license="BSD"
depends="python3 py3-ecdsa py3-cryptography"
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="e80de54a780796c6d5b3c083c302c27d6420cee033756df421258488d9ca0c6e230d6ac587d50cb850efd7ffa1157f55504e7d4ea7fca8e02caec9f44e389a4a  sshpubkeys-3.3.1.tar.gz"