[arch-commits] Commit in python-paramiko/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 3 12:19:13 UTC 2019
Date: Sunday, November 3, 2019 @ 12:19:11
Author: felixonmars
Revision: 522465
archrelease: copy trunk to community-staging-any
Added:
python-paramiko/repos/community-staging-any/PKGBUILD
(from rev 522462, python-paramiko/trunk/PKGBUILD)
Deleted:
python-paramiko/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-03 12:19:06 UTC (rev 522464)
+++ PKGBUILD 2019-11-03 12:19:11 UTC (rev 522465)
@@ -1,58 +0,0 @@
-# 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>
-
-pkgbase=python-paramiko
-pkgname=(python-paramiko python2-paramiko)
-pkgver=2.6.0
-pkgrel=2
-pkgdesc="Python module that implements the SSH2 protocol"
-url="https://github.com/paramiko/paramiko/"
-license=('LGPL')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-bcrypt' 'python2-bcrypt'
- 'python-cryptography' 'python2-cryptography' 'python-pyasn1' 'python2-pyasn1'
- 'python-pynacl' 'python2-pynacl')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-relaxed'
- 'python2-pytest-relaxed' 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/paramiko/paramiko/archive/$pkgver.tar.gz")
-sha512sums=('1ac2c3486cb786a1e4640d7b7f8628087f9b78ee247b09dbd3ac2646790da4f12cf95fc4291f27f200b63ec6c11d9ebf5a1283f88cf2de7c2eb6e6f76e892ef2')
-
-prepare() {
- cp -a paramiko-$pkgver{,-py2}
-
- find paramiko-$pkgver-py2 -name '*.py' -print0 | xargs -0 \
- sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
- -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
-}
-
-check() {
- cd "$srcdir"/paramiko-$pkgver
- LANG=en_US.UTF-8 python setup.py pytest
-
- cd "$srcdir"/paramiko-$pkgver-py2
- LANG=en_US.UTF-8 python2 setup.py pytest
-}
-
-package_python-paramiko() {
- depends=('python-bcrypt' 'python-cryptography' 'python-pyasn1' 'python-pynacl')
-
- 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
-}
-
-package_python2-paramiko() {
- depends=('python2-bcrypt' 'python2-cryptography' 'python2-pyasn1' 'python2-pynacl')
-
- cd paramiko-$pkgver-py2
-
- python2 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
-}
Copied: python-paramiko/repos/community-staging-any/PKGBUILD (from rev 522462, python-paramiko/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-03 12:19:11 UTC (rev 522465)
@@ -0,0 +1,58 @@
+# 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>
+
+pkgbase=python-paramiko
+pkgname=(python-paramiko python2-paramiko)
+pkgver=2.6.0
+pkgrel=3
+pkgdesc="Python module that implements the SSH2 protocol"
+url="https://github.com/paramiko/paramiko/"
+license=('LGPL')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-bcrypt' 'python2-bcrypt'
+ 'python-cryptography' 'python2-cryptography' 'python-pyasn1' 'python2-pyasn1'
+ 'python-pynacl' 'python2-pynacl')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-relaxed'
+ 'python2-pytest-relaxed' 'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/paramiko/paramiko/archive/$pkgver.tar.gz")
+sha512sums=('1ac2c3486cb786a1e4640d7b7f8628087f9b78ee247b09dbd3ac2646790da4f12cf95fc4291f27f200b63ec6c11d9ebf5a1283f88cf2de7c2eb6e6f76e892ef2')
+
+prepare() {
+ cp -a paramiko-$pkgver{,-py2}
+
+ find paramiko-$pkgver-py2 -name '*.py' -print0 | xargs -0 \
+ sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
+ -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
+}
+
+check() {
+ cd "$srcdir"/paramiko-$pkgver
+ LANG=en_US.UTF-8 python setup.py pytest
+
+ cd "$srcdir"/paramiko-$pkgver-py2
+ LANG=en_US.UTF-8 python2 setup.py pytest
+}
+
+package_python-paramiko() {
+ depends=('python-bcrypt' 'python-cryptography' 'python-pyasn1' 'python-pynacl')
+
+ 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
+}
+
+package_python2-paramiko() {
+ depends=('python2-bcrypt' 'python2-cryptography' 'python2-pyasn1' 'python2-pynacl')
+
+ cd paramiko-$pkgver-py2
+
+ python2 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