[arch-commits] Commit in python-sshpubkeys/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:28:44 UTC 2020


    Date: Monday, November 9, 2020 @ 18:28:44
  Author: foutrelis
Revision: 748005

archrelease: copy trunk to community-staging-any

Added:
  python-sshpubkeys/repos/community-staging-any/
  python-sshpubkeys/repos/community-staging-any/PKGBUILD
    (from rev 748004, python-sshpubkeys/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-sshpubkeys/repos/community-staging-any/PKGBUILD (from rev 748004, python-sshpubkeys/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:28:44 UTC (rev 748005)
@@ -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=4
+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 -m unittest -v tests
+}
+
+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