This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 18750f67114 gnu: onionshare: Update to 2.7.2
18750f67114 is described below

commit 18750f67114d27eda678b1babaa9cc7e855f2ef0
Author: Eric Bavier <[email protected]>
AuthorDate: Tue Nov 17 21:19:43 2026 -0600

    gnu: onionshare: Update to 2.7.2
    
    * gnu/packages/tor.scm (onionshare-cli): Update to 2.7.2.
    <arguments>: Relax werkzeug and setuptools requirements.
    Adjust 'relax-requirements' phase to new pep-621 format;
    (onionshare): Same.
    
    Merges: guix/guix#12615
---
 gnu/packages/tor.scm | 38 +++++++++++++++++++++++---------------
 1 file changed, 23 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index fd9655b1f74..5f1c180a24e 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -291,7 +291,7 @@ key, and private key are written to a new directory.")
 (define-public onionshare-cli
   (package
     (name "onionshare-cli")
-    (version "2.6.5")
+    (version "2.7.2")
     (source
      (origin
        (method git-fetch)
@@ -300,7 +300,7 @@ key, and private key are written to a new directory.")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1pb4glbz8kz30kv36pm3m4qiyansvavjzm8jv66h7xrn8l2i61a4"))
+        (base32 "0vblpgplm4hszkxfvhifqh612zilmx4cqnyywmax89ifqdb600s2"))
        (modules '((guix build utils)))
        (snippet
         #~(begin
@@ -355,26 +355,34 @@ key, and private key are written to a new directory.")
               ;; Poetry way too strict requirements.
               (substitute* (list "cli/pyproject.toml"
                                  "desktop/pyproject.toml")
-                (("^wheel = .*")
+                ((".*wheel [<>=]?= .*")
                  "\n")
-                (("^pynacl = .*")
-                 (format #f "pynacl = \"^~a\"~%"
+                (("\"pynacl [<>=]?= [^\"]*")
+                 (format #f "\"pynacl == ~a"
                          #$(package-version
                             (this-package-input "python-pynacl"))))
-                (("^stem = .*")
-                 (format #f "stem = \"^~a\"~%"
+                (("\"stem [<>=]?= [^\"]*")
+                 (format #f "\"stem == ~a"
                          #$(package-version
                             (this-package-input "python-stem"))))
-                (("^qrcode = .*")
-                 (format #f "qrcode = \"^~a\"~%"
+                (("\"qrcode [<>=]?= [^\"]*")
+                 (format #f "\"qrcode == ~a"
                          #$(package-version
                             (this-package-input "python-qrcode"))))
-                (("^gevent = .*")
-                 (format #f "gevent = \"^~a\"~%"
+                (("\"gevent [<>=]?= [^\"]*")
+                 (format #f "\"gevent == ~a"
                          #$(package-version
                             (this-package-input "python-gevent"))))
-                (("^cffi = .*")
-                 (format #f "cffi = \"^~a\"~%"
+                (("\"werkzeug [<>=]?= [^\"]*")
+                 (format #f "\"werkzeug == ~a"
+                         #$(package-version
+                            (this-package-input "python-werkzeug"))))
+                (("\"setuptools [<>=]?= [^\"]*")
+                 (format #f "\"setuptools == ~a"
+                         #$(package-version
+                            (this-package-input "python-setuptools"))))
+                (("\"cffi [<>=]?= [^\"]*")
+                 (format #f "\"cffi == ~a"
                          #$(package-version
                             (this-package-input "python-cffi")))))))
           (add-after 'unpack 'bake-tor
@@ -414,8 +422,8 @@ OnionShare.")
             (add-after 'relax-requirements 'relax-more-requirements
               (lambda _
                 (substitute* "desktop/pyproject.toml"
-                  (("^PySide6 = .*")
-                   (format #f "PySide6 = \"^~a\"~%"
+                  (("PySide6 [<>=]?= [^\"]*")
+                   (format #f "PySide6 == ~a"
                            #$(package-version
                               (this-package-input "python-pyside-6")))))))
             (add-after 'unpack 'absolutize

Reply via email to