diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-04-22 22:47:03 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-04-23 17:32:26 +0200 |
commit | 379c608ca8747713fbc50205e254662d3f39517e (patch) | |
tree | f42e550e1df7b8f27a224e6e857c63202c42038d /dev-python/certifi/files | |
parent | app-crypt/efitools: Use dev-perl/File-Slurp (diff) | |
download | gentoo-379c608ca8747713fbc50205e254662d3f39517e.tar.gz gentoo-379c608ca8747713fbc50205e254662d3f39517e.tar.bz2 gentoo-379c608ca8747713fbc50205e254662d3f39517e.zip |
dev-python/certifi: Bump to v2018.04.16
Ebuild changes:
===============
- We no longer install bundled cacert.pem. Instead we
refer to system's CA store.
Closes: https://github.com/gentoo/gentoo/pull/8109
Closes: https://bugs.gentoo.org/627558
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'dev-python/certifi/files')
-rw-r--r-- | dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch b/dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch new file mode 100644 index 000000000000..009f21168c1e --- /dev/null +++ b/dev-python/certifi/files/certifi-2018.4.16-use-system-cacerts.patch @@ -0,0 +1,15 @@ +Use system's CA certificate store + +--- a/certifi/core.py ++++ b/certifi/core.py +@@ -19,9 +19,7 @@ class DeprecatedBundleWarning(DeprecationWarning): + + + 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 old_where(): |