dev-python/httplib2: respin use-system-cacerts.patch

Closes: https://bugs.gentoo.org/683010
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
Thomas Deutschmann
2019-04-10 19:24:02 +02:00
parent 6927b464f6
commit 3efe9915bb
2 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
--- a/python2/httplib2/certs.py
+++ b/python2/httplib2/certs.py
@@ -19,9 +19,7 @@ except ImportError:
pass
-BUILTIN_CA_CERTS = os.path.join(
- os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
-)
+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
def where():
--- a/python3/httplib2/certs.py
+++ b/python3/httplib2/certs.py
@@ -19,9 +19,7 @@ except ImportError:
pass
-BUILTIN_CA_CERTS = os.path.join(
- os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
-)
+BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
def where():

View File

@@ -21,7 +21,7 @@ RDEPEND="app-misc/ca-certificates"
# tests connect to random remote sites
RESTRICT="test"
PATCHES=( "${FILESDIR}"/${PN}-0.11.3-use-system-cacerts.patch )
PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
python_prepare_all() {
chmod o+r */*egg*/* || die