Date: Wednesday, July 3, 2019 @ 06:29:39 Author: yan12125 Revision: 487336
addpkg: python-sshpubkeys This will be a new dependency in the next version of moto [1]. As a side note, there is moto 1.3.9 on PyPI, while it is actually accidentally released [2]. [1] https://github.com/spulec/moto/pull/2108 [2] https://github.com/spulec/moto/issues/640#issuecomment-507486727 Added: python-sshpubkeys/ python-sshpubkeys/repos/ python-sshpubkeys/trunk/ python-sshpubkeys/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: python-sshpubkeys/trunk/PKGBUILD =================================================================== --- python-sshpubkeys/trunk/PKGBUILD (rev 0) +++ python-sshpubkeys/trunk/PKGBUILD 2019-07-03 06:29:39 UTC (rev 487336) @@ -0,0 +1,30 @@ +# Maintainer: Chih-Hsuan Yen <[email protected]> +# Contributor: Drew DeVault <[email protected]> + +pkgname=python-sshpubkeys +pkgver=3.1.0 +pkgrel=1 +pkgdesc='OpenSSH public key parser for Python' +arch=(any) +url='https://github.com/ojarva/python-sshpubkeys' +license=(BSD) +depends=(python-ecdsa python-cryptography) +makedepends=(python-setuptools) +source=("https://github.com/ojarva/python-sshpubkeys/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=(e411b7d7d42b6909c09c4f8899f4ff55eff52dc13026ef9c26f7a2762766657c) + +build() { + cd $pkgname-$pkgver + python setup.py build +} + +check() { + cd $pkgname-$pkgver + python setup.py test +} + +package() { + cd $pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname +}
