diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-09 19:47:01 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-09 19:47:01 +0200 |
commit | 2161d99a0e246788462de5377c74142ff250172b (patch) | |
tree | 3d90844bcf7689deeff00397b8e222d6810fd1ac | |
parent | d69409380c16ca34f63245fcef1f0982a9a0366d (diff) | |
download | abslibre-2161d99a0e246788462de5377c74142ff250172b.tar.gz abslibre-2161d99a0e246788462de5377c74142ff250172b.tar.bz2 abslibre-2161d99a0e246788462de5377c74142ff250172b.zip |
Python SSH2 protocol library
-rw-r--r-- | pcr/python2-ssh/PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
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 <aurelien@hackers.camp> +# Contributor: Francois Boulogne <fboulogne at april dot org> +# Contributor: Francois Boulogne <fboulogne at april dot org> + 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') |