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

Antonio Rojas arojas at gemini.archlinux.org
Sat Dec 25 14:02:35 UTC 2021


    Date: Saturday, December 25, 2021 @ 14:02:34
  Author: arojas
Revision: 1083673

archrelease: copy trunk to community-testing-any

Added:
  python-paramiko/repos/community-testing-any/
  python-paramiko/repos/community-testing-any/PKGBUILD
    (from rev 1083670, python-paramiko/trunk/PKGBUILD)

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

Copied: python-paramiko/repos/community-testing-any/PKGBUILD (from rev 1083670, python-paramiko/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-12-25 14:02:34 UTC (rev 1083673)
@@ -0,0 +1,32 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Mario Danic <mario.danic at gmail.com>
+
+pkgname=python-paramiko
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="Python module that implements the SSH2 protocol"
+url="https://github.com/paramiko/paramiko/"
+license=('LGPL')
+arch=('any')
+depends=('python-bcrypt' 'python-cryptography' 'python-pynacl')
+makedepends=('python-setuptools' 'python-bcrypt' 'python-cryptography' 'python-pynacl')
+checkdepends=('python-pytest-runner' 'python-pytest-relaxed' 'python-pyasn1' 'python-invoke'
+             'python-mock')
+source=("https://github.com/paramiko/paramiko/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('d86824451be417322e0cdd073b31c103e737663af89f31abb1de21b5fbb9bdaa4b2e49505d2bc599114173df2457dcea308eb5c445fc5191248eb13e4c1eb500')
+
+check() {
+  cd paramiko-$pkgver
+  LANG=en_US.UTF-8 python setup.py pytest
+}
+
+package() {
+  cd paramiko-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -dm755 "$pkgdir"/usr/share/doc/$pkgname/demos
+  install -m644 demos/* "$pkgdir"/usr/share/doc/$pkgname/demos
+  chmod 755 "$pkgdir"/usr/share/doc/$pkgname/demos/*.py
+}



More information about the arch-commits mailing list