# Maintainer: Massimiliano Torromeo # Contributor: Sven-Hendrik Haase # Contributor: Francois Boulogne pkgname=fabric pkgver=3.0.1 pkgrel=1 pkgdesc="Python library and command-line tool designed to streamline deploying applications or performing system administration tasks via the SSH protocol" url="https://www.fabfile.org/" license=('BSD') arch=('any') depends=('python-paramiko' 'python-invoke' 'python-decorator') optdepends=('python-patchwork: Common deployment/sysadmin operations') makedepends=(python-setuptools python-wheel python-build python-installer) source=("https://github.com/fabric/fabric/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('0d67362adb8f6db56740ac64b7237a841d5aeaf3d2bbe25082cb0c2029a34c65beb1c1e8230093b0f829fda7319790e11e39d53debee09a93f5d237157aaa725') build() { cd "${srcdir}"/fabric-${pkgver} python -m build --wheel --no-isolation } package() { cd "${srcdir}"/fabric-${pkgver} python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 README.rst "${pkgdir}"/usr/share/doc/${pkgname}/README.rst install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE }