~dricottone/huttese-apk

ref: f26e327f64d7eb57decdd2d57f07bf2d3da1baba huttese-apk/sr.ht/py3-sshpubkeys/APKBUILD -rw-r--r-- 767 bytes
f26e327f — Drew DeVault Initial pass on todo.sr.ht package 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-sshpubkeys
_pkgname=sshpubkeys
pkgver=2.2.0
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-crypto"
makedepends="py-setuptools"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/ojarva/python-sshpubkeys/archive/v${pkgver}.tar.gz
"
builddir="$srcdir/python-${_pkgname}-${pkgver}"

check() {
	cd "$builddir"
	python3 setup.py check
}

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

sha512sums="b1bfe62ed6a269b574671a54c83e51dbb4f002776505c861d7ebf395a581ff765901b2c2eb85dd1526d9026d196e688810eef15abdeef778a37d2890f9261a1f  py3-sshpubkeys-2.2.0.tar.gz"