diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-10-09 21:07:26 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-10-09 21:07:26 -0200 |
commit | 66174628313398909679b2a88cab535627fa4dc9 (patch) | |
tree | b403b67e48e3504f7f8a0ea62c5fe5cc37c5f4cb /pcr/python2-ssh/PKGBUILD | |
parent | b42154133403f057f59444375480b78a8c922be6 (diff) | |
parent | 2161d99a0e246788462de5377c74142ff250172b (diff) |
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'pcr/python2-ssh/PKGBUILD')
-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') |