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

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Wed Mar 30 10:42:36 UTC 2022


    Date: Wednesday, March 30, 2022 @ 10:42:36
  Author: mtorromeo
Revision: 1177772

upgpkg: salt 3004.1-2: fixed pyzmq version requirements

Modified:
  salt/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-30 10:42:05 UTC (rev 1177771)
+++ PKGBUILD	2022-03-30 10:42:36 UTC (rev 1177772)
@@ -7,7 +7,7 @@
 
 pkgname=salt
 pkgver=3004.1
-pkgrel=1
+pkgrel=2
 
 pkgdesc='Central system and configuration manager'
 arch=('any')
@@ -49,6 +49,11 @@
   cd salt-$pkgver
   patch -Np1 < "$srcdir/patch-requirements.patch"
   sed -i '/^contextvars/d' requirements/base.txt
+
+  # remove version requirements for pyzmq, there's no point in it
+  # we only have one version and the "python_version <=> *" checks are discarded
+  # so pyzmq<=20.0.0 ends up in the final requirements.txt
+  echo -e '-r crypto.txt\n\npyzmq' > requirements/zeromq.txt
 }
 
 build() {



More information about the arch-commits mailing list