diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-31 00:29:37 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-07-31 00:29:37 +0000 |
| commit | 7afc14cbf5fb46aa7217da1cdfed14a14b5bf0c5 (patch) | |
| tree | dea46b412090eb466ebbdb80b396cb82f0090160 /dev-python/certifi/files | |
| parent | b5c4b0e97e3f50d1f697651b078c61a5a925d7a4 (diff) | |
| download | srcux-7afc14cbf5fb46aa7217da1cdfed14a14b5bf0c5.tar.gz srcux-7afc14cbf5fb46aa7217da1cdfed14a14b5bf0c5.tar.xz srcux-7afc14cbf5fb46aa7217da1cdfed14a14b5bf0c5.zip | |
Updating liguros repo
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 - |
