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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 18:30:16 UTC 2020


    Date: Monday, November 9, 2020 @ 18:30:16
  Author: felixonmars
Revision: 748024

archrelease: copy trunk to community-staging-any

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

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

Copied: python-paramiko/repos/community-staging-any/PKGBUILD (from rev 748020, python-paramiko/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:30:16 UTC (rev 748024)
@@ -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.7.2
+pkgrel=2
+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=('c9bc569428a0a61814cb73941356de5bae7fea7891ba4fd3f5c00ff1ee5083454bfde7e969fb4aaf5254b909f7f0132f590d67803eda8a67503e5c02ec2bf01a')
+
+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