mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -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
|
(package
|
||||||
(name "python-certifi")
|
(name "python-certifi")
|
||||||
(version "2022.6.15")
|
(version "2022.6.15")
|
||||||
(replacement python-certifi/fixed)
|
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "certifi" version))
|
(uri (pypi-uri "certifi" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"03c2l11lgljx0kz17cvdc4hlc3p1594ajdih9zq0a4dig285mj44"))))
|
"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))
|
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(begin
|
||||||
(delete-file "certifi/cacert.pem")
|
(delete-file "certifi/cacert.pem")
|
||||||
|
@ -521,7 +506,15 @@ (define python-certifi/fixed
|
||||||
|
|
||||||
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)
|
||||||
|
(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
|
(define-public python-cryptography-vectors
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue