# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Francois Boulogne <fboulogne at april dot org>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=python2-fabric
pkgver=1.5.0
pkgrel=2
pkgdesc="Python library and command-line tool designed to streamline deploying applications or performing system administration tasks via the SSH protocol"
url="http://fabfile.org/"
license=('BSD')
arch=('any')
depends=('python2>=2.5' 'pycrypto' 'python2-paramiko>=1.9.0' 'python2-distribute' 'python2-ssh')
source=("http://pypi.python.org/packages/source/F/Fabric/Fabric-${pkgver}.tar.gz")
md5sums=('13b7b98149497fb7ab6f880e3e875f89')

build() {
  cd ${srcdir}/Fabric-${pkgver}
  python2 setup.py install --root=${pkgdir} --optimize=1

  install -D -m644 README.rst ${pkgdir}/usr/share/doc/${pkgname}/README.rst
  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
md5sums=('13b7b98149497fb7ab6f880e3e875f89')