From 2161d99a0e246788462de5377c74142ff250172b Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Thu, 9 Oct 2014 19:47:01 +0200 Subject: Python SSH2 protocol library --- pcr/python2-ssh/PKGBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'pcr') diff --git a/pcr/python2-ssh/PKGBUILD b/pcr/python2-ssh/PKGBUILD index bc4378393..1f2725fd8 100644 --- a/pcr/python2-ssh/PKGBUILD +++ b/pcr/python2-ssh/PKGBUILD @@ -1,12 +1,17 @@ +# Maintainer : Aurélien DESBRIÈRES +# Contributor: Francois Boulogne +# Contributor: Francois Boulogne + pkgname=python2-ssh pkgver=1.8.0 -pkgrel=1 +pkgrel=3 pkgdesc="Python SSH2 protocol library" arch=(any) url="http://pypi.python.org/pypi/ssh" license=('LGPL') depends=('python2' 'pycrypto') -makedepends=() +makedepends=('python2-distribute') +checkdepends=('python2-nose') provides=() conflicts=() replaces=() @@ -15,10 +20,14 @@ options=(!emptydirs) install= source=("http://pypi.python.org/packages/source/s/ssh/ssh-$pkgver.tar.gz") +check() { + cd "$srcdir/ssh-$pkgver" + python2 test.py +} + package() { cd "$srcdir/ssh-$pkgver" python2 setup.py install --root="$pkgdir/" --optimize=1 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } -md5sums=('bc4dd59ec0c7bdf78a3840652cac824e') -- cgit v1.2.3-54-g00ecf