~dricottone/huttese-apk

ref: b15771639731942c65d2b487702542530c7374a2 huttese-apk/sr.ht/py3-sshpubkeys/APKBUILD -rw-r--r-- 767 bytes
b1577163 — Drew DeVault Add py3-stripe 5 years ago
                                                                                
bdb848ee 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
# 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"