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

Chih-Hsuan Yen yan12125 at archlinux.org
Wed Jul 3 06:30:59 UTC 2019


    Date: Wednesday, July 3, 2019 @ 06:30:59
  Author: yan12125
Revision: 487337

archrelease: copy trunk to community-any

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

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

Copied: python-sshpubkeys/repos/community-any/PKGBUILD (from rev 487336, python-sshpubkeys/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-07-03 06:30:59 UTC (rev 487337)
@@ -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=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
+}


More information about the arch-commits mailing list