diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-07-30 22:38:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-30 22:41:02 +0200 |
commit | 0bcbbcb192f41ccffc5bfafb2e3141a010547393 (patch) | |
tree | ef4d708492cad8b43eca4a6176a766dc34b565bb /dev-python/certifi/files | |
parent | dev-python/cliff: Remove old (diff) | |
download | gentoo-0bcbbcb192f41ccffc5bfafb2e3141a010547393.tar.gz gentoo-0bcbbcb192f41ccffc5bfafb2e3141a010547393.tar.bz2 gentoo-0bcbbcb192f41ccffc5bfafb2e3141a010547393.zip |
dev-python/certifi: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
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 - |