~dricottone/huttese-apk

ref: bd5e2607cbcd0a0f4b754651a72c8c06a647627f huttese-apk/sr.ht/py3-sshpubkeys/APKBUILD -rw-r--r-- 793 bytes
bd5e2607 — Drew DeVault Update README.md with upgrade lessons 4 years ago
                                                                                
bdb848ee Drew DeVault
f9216d16 Drew DeVault
4eea23ca Drew DeVault
bdb848ee Drew DeVault
f9216d16 Drew DeVault
bdb848ee Drew DeVault
f9216d16 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-sshpubkeys
_pyname=sshpubkeys
pkgver=3.1.0
pkgrel=1
pkgdesc="OpenSSH public key parser for Python"
url="https://github.com/ojarva/python-sshpubkeys"
arch="noarch"
license="BSD"
depends="python3 py3-ecdsa py3-crypto"
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="d66c56466621a477b1477611d63bda72c20c147ad92250b42a7f29271cef659a2ee169ba03094129453732301a2350b67f25dcd0436162f8769aed82bcfb8cea  sshpubkeys-3.1.0.tar.gz"