[arch-commits] Commit in python-sshpubkeys/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 05:41:53 UTC 2019
Date: Saturday, October 26, 2019 @ 05:41:52
Author: foutrelis
Revision: 520168
archrelease: copy trunk to community-staging-any
Added:
python-sshpubkeys/repos/community-staging-any/
python-sshpubkeys/repos/community-staging-any/PKGBUILD
(from rev 520167, python-sshpubkeys/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-sshpubkeys/repos/community-staging-any/PKGBUILD (from rev 520167, python-sshpubkeys/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 05:41:52 UTC (rev 520168)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Drew DeVault <sir at cmpwn.com>
+
+pkgname=python-sshpubkeys
+pkgver=3.1.0
+pkgrel=2
+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
+}
More information about the arch-commits
mailing list