blob: 1f2725fd813e341ffd230c86084f6613b918ee91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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=3
pkgdesc="Python SSH2 protocol library"
arch=(any)
url="http://pypi.python.org/pypi/ssh"
license=('LGPL')
depends=('python2' 'pycrypto')
makedepends=('python2-distribute')
checkdepends=('python2-nose')
provides=()
conflicts=()
replaces=()
backup=()
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
}
|