summaryrefslogtreecommitdiff
path: root/pcr/python2-ssh
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-13 13:34:54 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-13 13:34:54 -0300
commit359b99f193cb2c3b0ea7cad66080c1e81125afb1 (patch)
treee03f36b1af48bbcdcfe662695cd60d905253786a /pcr/python2-ssh
parentb669c4d23e5797b4bfdd78908fa162caf202ad6f (diff)
parentcf319581703bfe2836e7df909dd5f9c0ab0d54e5 (diff)
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/python2-ssh')
-rw-r--r--pcr/python2-ssh/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/python2-ssh/PKGBUILD b/pcr/python2-ssh/PKGBUILD
new file mode 100644
index 000000000..84005f0ac
--- /dev/null
+++ b/pcr/python2-ssh/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: Your Name <youremail@domain.com>
+
+pkgname=python2-ssh
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Python SSH2 protocol library"
+arch=(any)
+url="http://pypi.python.org/pypi/ssh"
+license=('LGPL')
+depends=('python2' 'pycrypto')
+makedepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=("http://pypi.python.org/packages/source/s/ssh/ssh-$pkgver.tar.gz")
+
+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')