~ruther/guix-local

6f50f3ef3348147b6c31b9264a4a671f3f7d8b33 — wrobell 9 months ago a7d5fde
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>
1 files changed, 19 insertions(+), 16 deletions(-)

M gnu/packages/python-crypto.scm
M gnu/packages/python-crypto.scm => gnu/packages/python-crypto.scm +19 -16
@@ 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