From 6f50f3ef3348147b6c31b9264a4a671f3f7d8b33 Mon Sep 17 00:00:00 2001 From: wrobell Date: Sun, 22 Jun 2025 01:59:52 +0100 Subject: [PATCH] gnu: python-certifi: Update to 2025.6.15. * gnu/packages/python-crypto.scm (python-certifi): Update to 2025.6.15. [build-system]: Use pyproject-build-system. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I9aa8882533a6a603dc223be61c48adda45ccc8a4 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-crypto.scm | 35 ++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 8eece3b2d06719b4771977987d3f6edf2dce9aa5..abb9ed6e8c08c3b1b95717ceeff06e1a16b401df 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -448,20 +448,20 @@ for example, for recording or replaying web content.") (define-public python-certifi (package (name "python-certifi") - (version "2022.6.15") - (source (origin - (method url-fetch) - (uri (pypi-uri "certifi" version)) - (sha256 - (base32 - "03c2l11lgljx0kz17cvdc4hlc3p1594ajdih9zq0a4dig285mj44")) - (snippet - #~(begin - (delete-file "certifi/cacert.pem") - (delete-file "certifi/core.py") - (with-output-to-file "certifi/core.py" - (lambda _ - (display "\"\"\" + (version "2025.6.15") + (source + (origin + (method url-fetch) + (uri (pypi-uri "certifi" version)) + (sha256 + (base32 "0frj2yizgxr1njx1dynyjsbqxwfi5gi17fr2ijxv3fwviddaliyp")) + (snippet #~(begin + (delete-file "certifi/cacert.pem") + (delete-file "certifi/core.py") + (with-output-to-file "certifi/core.py" + (lambda _ + (display + "\"\"\" certifi.py ~~~~~~~~~~ This file is a Guix-specific version of core.py. @@ -484,8 +484,11 @@ def where() -> str: def contents() -> str: with open(where(), \"r\", encoding=\"ascii\") as data: return data.read()"))))))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ;no tests + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f)) ;no tests + (native-inputs (list python-setuptools python-wheel)) (home-page "https://certifi.io/") (synopsis "Python CA certificate bundle") (description