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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:42:49 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:42:49
  Author: felixonmars
Revision: 1058958

archrelease: copy trunk to community-staging-any

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

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

Copied: python-paramiko/repos/community-staging-any/PKGBUILD (from rev 1058954, python-paramiko/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:42:49 UTC (rev 1058958)
@@ -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=4
+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