[arch-commits] Commit in fabric/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:47:59 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:47:59
  Author: felixonmars
Revision: 1059314

archrelease: copy trunk to community-staging-any

Added:
  fabric/repos/community-staging-any/
  fabric/repos/community-staging-any/PKGBUILD
    (from rev 1059313, fabric/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: fabric/repos/community-staging-any/PKGBUILD (from rev 1059313, fabric/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:47:59 UTC (rev 1059314)
@@ -0,0 +1,29 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=fabric
+pkgver=2.6.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="https://www.fabfile.org/"
+license=('BSD')
+arch=('any')
+depends=('python-paramiko' 'python-invoke')
+optdepends=('python-patchwork: Common deployment/sysadmin operations')
+makedepends=('python-setuptools')
+source=("https://github.com/fabric/fabric/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('003ace3246215d8c1b9561dabc0b0aa03ca7347b30da17eeaa0ec741e47d56ec5fcd03da1c0ed861e3128d8ede37fcb3b4ffb402d9af4bc5e7eb7892cf995708')
+
+build() {
+  cd "${srcdir}"/fabric-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}"/fabric-${pkgver}
+  python setup.py install -O1 --skip-build --root="${pkgdir}"
+
+  install -Dm644 README.rst "${pkgdir}"/usr/share/doc/${pkgname}/README.rst
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list