diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/certifi/files | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.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, 30 insertions, 0 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 new file mode 100644 index 000000000000..692439a10eac --- /dev/null +++ b/dev-python/certifi/files/certifi-2020.4.5.1-use-system-cacerts.patch @@ -0,0 +1,30 @@ +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 + |
