[arch-commits] Commit in fabric/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Wed Mar 30 20:30:12 UTC 2022


    Date: Wednesday, March 30, 2022 @ 20:30:11
  Author: mtorromeo
Revision: 1177860

upgpkg: fabric 2.7.0-1

Modified:
  fabric/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-30 20:26:24 UTC (rev 1177859)
+++ PKGBUILD	2022-03-30 20:30:11 UTC (rev 1177860)
@@ -3,8 +3,8 @@
 # Contributor: Francois Boulogne <fboulogne at april dot org>
 
 pkgname=fabric
-pkgver=2.6.0
-pkgrel=3
+pkgver=2.7.0
+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')
@@ -11,18 +11,18 @@
 arch=('any')
 depends=('python-paramiko' 'python-invoke')
 optdepends=('python-patchwork: Common deployment/sysadmin operations')
-makedepends=('python-setuptools')
+makedepends=(python-setuptools python-wheel python-build python-installer)
 source=("https://github.com/fabric/fabric/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('003ace3246215d8c1b9561dabc0b0aa03ca7347b30da17eeaa0ec741e47d56ec5fcd03da1c0ed861e3128d8ede37fcb3b4ffb402d9af4bc5e7eb7892cf995708')
+sha512sums=('7e364ffd1e9956397042490daa76bc12db88eea090ce35c3d43408346158ff05948196905cec448cc2480f36d432a45675c6937ca96f81f9d42e226be8f6c8fc')
 
 build() {
   cd "${srcdir}"/fabric-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd "${srcdir}"/fabric-${pkgver}
-  python setup.py install -O1 --skip-build --root="${pkgdir}"
+  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



More information about the arch-commits mailing list