mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: python-certifi: Ungraft.
* gnu/packages/python-crypto.scm (python-certifi): Ungraft and apply source snippet directly. (python-certifi/fixed): Remove variable. Change-Id: I6778ebcc3ef23dab1776d3876b9179d332a126e5
This commit is contained in:
parent
a0d74866ab
commit
e312bce543
1 changed files with 10 additions and 17 deletions
|
@ -472,27 +472,12 @@ (define-public python-certifi
|
|||
(package
|
||||
(name "python-certifi")
|
||||
(version "2022.6.15")
|
||||
(replacement python-certifi/fixed)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "certifi" version))
|
||||
(sha256
|
||||
(base32
|
||||
"03c2l11lgljx0kz17cvdc4hlc3p1594ajdih9zq0a4dig285mj44"))))
|
||||
(build-system python-build-system)
|
||||
(arguments '(#:tests? #f)) ;no tests
|
||||
(home-page "https://certifi.io/")
|
||||
(synopsis "Python CA certificate bundle")
|
||||
(description
|
||||
"Certifi is a Python library that contains a CA certificate bundle, which
|
||||
is used by the Requests library to verify HTTPS requests.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define python-certifi/fixed
|
||||
(package
|
||||
(inherit python-certifi)
|
||||
(source (origin
|
||||
(inherit (package-source python-certifi))
|
||||
"03c2l11lgljx0kz17cvdc4hlc3p1594ajdih9zq0a4dig285mj44"))
|
||||
(snippet
|
||||
#~(begin
|
||||
(delete-file "certifi/cacert.pem")
|
||||
|
@ -521,7 +506,15 @@ (define python-certifi/fixed
|
|||
|
||||
def contents() -> str:
|
||||
with open(where(), \"r\", encoding=\"ascii\") as data:
|
||||
return data.read()")))))))))
|
||||
return data.read()")))))))
|
||||
(build-system python-build-system)
|
||||
(arguments '(#:tests? #f)) ;no tests
|
||||
(home-page "https://certifi.io/")
|
||||
(synopsis "Python CA certificate bundle")
|
||||
(description
|
||||
"Certifi is a Python library that contains a CA certificate bundle, which
|
||||
is used by the Requests library to verify HTTPS requests.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public python-cryptography-vectors
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue