# 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"