summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-13 19:29:38 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-14 13:15:26 +0100
commitd3d0a13c3eed7d15b0c9476e4e25188acd373822 (patch)
treea203471584562b9a17c36b5eba1d104db8847f4b /gnu
parent58fa99eae7b219f77e1c25b147acab709049b9c9 (diff)
gnu: certbot: Update to 4.2.0.
* gnu/packages/tls.scm (certbot): Update to 4.2.0. [source, arguments, description]: Improve style. Change-Id: I7b3380c4f04b5c07239f68e7c4fcd96e3c14ea08 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tls.scm48
1 files changed, 26 insertions, 22 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 79bcd4823a1..8dd820429cd 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -765,30 +765,33 @@ netcat implementation that supports TLS.")
;; Certbot and python-acme are developed in the same repository, and their
;; versions should remain synchronized.
(version (package-version python-acme))
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "certbot" version))
- (sha256
- (base32
- "12nd9nmdj3bf1xlvhj1ln473xbyv4qzxf6qhz0djbca7jl59zlwk"))))
- (build-system python-build-system)
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "certbot" version))
+ (sha256
+ (base32 "0yy287h1sjdkm5cj4wazq316igwwla856yqcmi4yqaq7ib55c7pv"))))
+ (build-system pyproject-build-system)
(arguments
- `(,@(substitute-keyword-arguments (package-arguments python-acme)
- ((#:phases phases)
- `(modify-phases ,phases
- (replace 'install-documentation
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (man1 (string-append out "/share/man/man1"))
- (man7 (string-append out "/share/man/man7"))
- (info (string-append out "/info")))
- (install-file "docs/_build/texinfo/Certbot.info" info)
- (install-file "docs/_build/man/certbot.1" man1)
- (install-file "docs/_build/man/certbot.7" man7)
- #t))))))))
+ (substitute-keyword-arguments (package-arguments python-acme)
+ ((#:test-flags flags '())
+ ;; XXX: No time zone found with key Asia/Sanghai, pytz version?
+ #~(list "-k" "not test_add_time_interval"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'install-documentation
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((man1 (string-append #$output "/share/man/man1"))
+ (man7 (string-append #$output "/share/man/man7"))
+ (info (string-append #$output "/info")))
+ (install-file "docs/_build/texinfo/Certbot.info" info)
+ (install-file "docs/_build/man/certbot.1" man1)
+ (install-file "docs/_build/man/certbot.7" man7))))))))
(native-inputs
(list python-mock
python-pytest
+ python-setuptools
+ python-wheel
;; For documentation
python-sphinx
python-sphinx-rtd-theme
@@ -808,8 +811,9 @@ netcat implementation that supports TLS.")
python-requests
python-pytz))
(synopsis "Let's Encrypt client by the Electronic Frontier Foundation")
- (description "Certbot automatically receives and installs X.509 certificates
-to enable Transport Layer Security (TLS) on servers. It interoperates with the
+ (description
+ "Certbot automatically receives and installs X.509 certificates to enable
+Transport Layer Security (TLS) on servers. It interoperates with the
Let’s Encrypt certificate authority (CA), which issues browser-trusted
certificates for free.")
(home-page "https://certbot.eff.org/")