Date: Friday, April 7, 2023 @ 04:50:03
Author: felixonmars
Revision: 1440573
archrelease: copy trunk to community-staging-any
Added:
fabric/repos/community-staging-any/
fabric/repos/community-staging-any/PKGBUILD
(from rev 1440572, fabric/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: fabric/repos/community-staging-any/PKGBUILD (from rev 1440572,
fabric/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 04:50:03 UTC (rev 1440573)
@@ -0,0 +1,29 @@
+# Maintainer: Massimiliano Torromeo <[email protected]>
+# Contributor: Sven-Hendrik Haase <[email protected]>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=fabric
+pkgver=3.0.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' '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=('4398a075286fad201001edf170f88d671992303efa8890fbe63b29c3677f7ba4bc39b3630b65e3cd63529a0c28b0e0d324e699fa3abe782ab3f6b42cf7335871')
+
+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
+}