Date: Tuesday, August 26, 2014 @ 14:27:13
  Author: fyan
Revision: 117904

upgpkg: python-paramiko 1.14.1-1

Modified:
  python-paramiko/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-08-26 12:10:22 UTC (rev 117903)
+++ PKGBUILD    2014-08-26 12:27:13 UTC (rev 117904)
@@ -6,7 +6,7 @@
 
 pkgbase=python-paramiko
 pkgname=(python-paramiko python2-paramiko)
-pkgver=1.14.0
+pkgver=1.14.1
 pkgrel=1
 pkgdesc="Python module that implements the SSH2 protocol"
 url="https://github.com/paramiko/paramiko/";
@@ -14,20 +14,20 @@
 arch=('any')
 makedepends=('python-ecdsa' 'python2-ecdsa' 'python-crypto' 'python2-crypto')
 
source=("http://pypi.python.org/packages/source/p/paramiko/paramiko-$pkgver.tar.gz";)
-md5sums=('e26324fd398af68ad506fe98853835c3')
+md5sums=('6165e0274f9e4e4b82d9b44e793d8fc6')
 
 prepare() {
-  cp -r paramiko-$pkgver{,-py2}
+  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,'
+  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"
   # Workaround encoding issue
-  LANG=en_US.UTF-8 python test.py || : # Fails after actual tests finished
+  LANG=en_US.UTF-8 python test.py || warning "Tests failed" # Fails after 
actual tests finished
 
   cd "$srcdir/paramiko-$pkgver-py2"
   LANG=en_US.UTF-8 python2 test.py

Reply via email to