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
(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