summary refs log tree commit diff
path: root/gnu/packages/tls.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-14 18:10:03 +0200
committerMarius Bakke <marius@gnu.org>2022-06-14 23:33:53 +0200
commit334c849ba10d96174b38942262b81c37540abff7 (patch)
tree835c3ae27ed7825464e4cedd0fa266ca6868bca9 /gnu/packages/tls.scm
parent73e0063888db5ecfa74f16dccde0632b4ff1b95e (diff)
downloadguix-334c849ba10d96174b38942262b81c37540abff7.tar.gz
gnu: python-acme, certbot: Update to 1.28.0.
* gnu/packages/tls.scm (python-acme): Update to 1.28.0.
[arguments]: Override check phase.
(certbot)[source]: Update hash.
Diffstat (limited to 'gnu/packages/tls.scm')
-rw-r--r--gnu/packages/tls.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 59514f9357..6fa128ecc8 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -646,13 +646,13 @@ netcat implementation that supports TLS.")
   (package
     (name "python-acme")
     ;; Remember to update the hash of certbot when updating python-acme.
-    (version "1.18.0")
+    (version "1.28.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "acme" version))
               (sha256
                (base32
-                "1bv2swaqmzpcx2nq1nbhrc6b825d5sxkdv0al972sjfcpcqn1q4s"))))
+                "12fmw4g63pzbrmmrkk6hgg0k5px6jyx3scv9fmn60h21387jv0hz"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -666,8 +666,11 @@ netcat implementation that supports TLS.")
                     (man (string-append out "/share/man/man1"))
                     (info (string-append out "/info")))
                (install-file "docs/_build/texinfo/acme-python.info" info)
-               (install-file "docs/_build/man/acme-python.1" man)
-               #t))))))
+               (install-file "docs/_build/man/acme-python.1" man))))
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-vv")))))))
     (native-inputs
      (list python-pytest
            ;; For documentation
@@ -700,7 +703,7 @@ netcat implementation that supports TLS.")
               (uri (pypi-uri "certbot" version))
               (sha256
                (base32
-                "0yr8sxfg5zspal04l9lpd9xis6gp8il20bhka54xr9bb4hc6xrgk"))))
+                "0p4cpakx1kc8lczlgxqryr2asnyrvw6p5wmkamkjqdsf3z7xhm2b"))))
     (build-system python-build-system)
     (arguments
      `(,@(substitute-keyword-arguments (package-arguments python-acme)