diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/certifi/files | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/certifi/files')
-rw-r--r-- | dev-python/certifi/files/certifi-2020.4.5.1-use-system-cacerts.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-python/certifi/files/certifi-2020.4.5.1-use-system-cacerts.patch b/dev-python/certifi/files/certifi-2020.4.5.1-use-system-cacerts.patch deleted file mode 100644 index 692439a10eac..000000000000 --- a/dev-python/certifi/files/certifi-2020.4.5.1-use-system-cacerts.patch +++ /dev/null @@ -1,30 +0,0 @@ -From f07497e36ccc883626ae5cdfa7f81fcb3fc0d549 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Sun, 5 Apr 2020 23:43:30 +0200 -Subject: [PATCH] Use system's CA certificate store - ---- - certifi/core.py | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/certifi/core.py b/certifi/core.py -index 56b52a3..467880f 100644 ---- a/certifi/core.py -+++ b/certifi/core.py -@@ -21,10 +21,9 @@ except ImportError: - - - def where(): -- f = os.path.dirname(__file__) -- -- return os.path.join(f, "cacert.pem") -+ return "@GENTOO_PORTAGE_EPREFIX@/etc/ssl/certs/ca-certificates.crt" - - - def contents(): -- return read_text("certifi", "cacert.pem", encoding="ascii") -+ with open(where(), "r", encoding="ascii") as f: -+ return f.read() --- -2.24.1 - |