guix_mirror_bot pushed a commit to branch python-team in repository guix. commit a54819dfe808e6e94701cb26ab1465a80edbda6b Author: wrobell <wrob...@riseup.net> AuthorDate: Sun Jun 22 01:59:52 2025 +0100
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 <sharlata...@gmail.com> --- 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 43c781fb81..f6ffd810a1 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -454,20 +454,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. @@ -490,8 +490,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