summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-04-10 19:24:02 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-04-10 19:24:23 +0200
commit3efe9915bb282a8d50352f09dba88923b0407e52 (patch)
tree2aefa5361b19c7d7065937b9cf09a3a430f682f9 /dev-python/httplib2
parentprofiles: Add comment for the utmp/wtmp mask on musl (diff)
downloadgentoo-3efe9915bb282a8d50352f09dba88923b0407e52.tar.gz
gentoo-3efe9915bb282a8d50352f09dba88923b0407e52.tar.bz2
gentoo-3efe9915bb282a8d50352f09dba88923b0407e52.zip
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>
Diffstat (limited to 'dev-python/httplib2')
-rw-r--r--dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch26
-rw-r--r--dev-python/httplib2/httplib2-0.12.1.ebuild2
2 files changed, 27 insertions, 1 deletions
diff --git a/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch b/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch
new file mode 100644
index 000000000000..e189a5407243
--- /dev/null
+++ b/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch
@@ -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():
diff --git a/dev-python/httplib2/httplib2-0.12.1.ebuild b/dev-python/httplib2/httplib2-0.12.1.ebuild
index 0d4ac24b5236..e80ad4f83e4c 100644
--- a/dev-python/httplib2/httplib2-0.12.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.12.1.ebuild
@@ -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