summaryrefslogtreecommitdiff
path: root/dev-python/certifi/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/certifi/files
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadsrcux-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
srcux-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
srcux-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'dev-python/certifi/files')
-rw-r--r--dev-python/certifi/files/certifi-2020.06.20-use-system-cacerts.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/dev-python/certifi/files/certifi-2020.06.20-use-system-cacerts.patch b/dev-python/certifi/files/certifi-2020.06.20-use-system-cacerts.patch
deleted file mode 100644
index 750954fa869c..000000000000
--- a/dev-python/certifi/files/certifi-2020.06.20-use-system-cacerts.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -urN certifi-2020.6.20.orig/certifi/core.py certifi-2020.6.20/certifi/core.py
---- certifi-2020.6.20.orig/certifi/core.py 2020-08-01 17:50:13.139849550 +0200
-+++ certifi-2020.6.20/certifi/core.py 2020-08-01 17:52:51.614857443 +0200
-@@ -51,10 +51,9 @@
- # If we don't have importlib.resources, then we will just do the old logic
- # of assuming we're on the filesystem and munge the path directly.
- 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()