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 <sharlatanus@gmail.com>
This commit is contained in:
wrobell 2025-06-22 01:59:52 +01:00 committed by Sharlatan Hellseher
parent a7d5fde633
commit 6f50f3ef33
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -448,20 +448,20 @@ for example, for recording or replaying web content.")
(define-public python-certifi (define-public python-certifi
(package (package
(name "python-certifi") (name "python-certifi")
(version "2022.6.15") (version "2025.6.15")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "certifi" version)) (method url-fetch)
(sha256 (uri (pypi-uri "certifi" version))
(base32 (sha256
"03c2l11lgljx0kz17cvdc4hlc3p1594ajdih9zq0a4dig285mj44")) (base32 "0frj2yizgxr1njx1dynyjsbqxwfi5gi17fr2ijxv3fwviddaliyp"))
(snippet (snippet #~(begin
#~(begin (delete-file "certifi/cacert.pem")
(delete-file "certifi/cacert.pem") (delete-file "certifi/core.py")
(delete-file "certifi/core.py") (with-output-to-file "certifi/core.py"
(with-output-to-file "certifi/core.py" (lambda _
(lambda _ (display
(display "\"\"\" "\"\"\"
certifi.py certifi.py
~~~~~~~~~~ ~~~~~~~~~~
This file is a Guix-specific version of core.py. This file is a Guix-specific version of core.py.
@ -484,8 +484,11 @@ def where() -> str:
def contents() -> str: def contents() -> str:
with open(where(), \"r\", encoding=\"ascii\") as data: with open(where(), \"r\", encoding=\"ascii\") as data:
return data.read()"))))))) return data.read()")))))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments '(#:tests? #f)) ;no tests (arguments
(list
#:tests? #f)) ;no tests
(native-inputs (list python-setuptools python-wheel))
(home-page "https://certifi.io/") (home-page "https://certifi.io/")
(synopsis "Python CA certificate bundle") (synopsis "Python CA certificate bundle")
(description (description