Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httplib2/, dev-python/httplib2/files/
Date: Wed, 10 Apr 2019 17:24:37
Message-Id: 1554917063.3efe9915bb282a8d50352f09dba88923b0407e52.whissi@gentoo
1 commit: 3efe9915bb282a8d50352f09dba88923b0407e52
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 17:24:02 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 17:24:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3efe9915
7
8 dev-python/httplib2: respin use-system-cacerts.patch
9
10 Closes: https://bugs.gentoo.org/683010
11 Package-Manager: Portage-2.3.62, Repoman-2.3.12
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 .../files/httplib2-0.12.1-use-system-cacerts.patch | 26 ++++++++++++++++++++++
15 dev-python/httplib2/httplib2-0.12.1.ebuild | 2 +-
16 2 files changed, 27 insertions(+), 1 deletion(-)
17
18 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
19 new file mode 100644
20 index 00000000000..e189a540724
21 --- /dev/null
22 +++ b/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch
23 @@ -0,0 +1,26 @@
24 +--- a/python2/httplib2/certs.py
25 ++++ b/python2/httplib2/certs.py
26 +@@ -19,9 +19,7 @@ except ImportError:
27 + pass
28 +
29 +
30 +-BUILTIN_CA_CERTS = os.path.join(
31 +- os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
32 +-)
33 ++BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
34 +
35 +
36 + def where():
37 +--- a/python3/httplib2/certs.py
38 ++++ b/python3/httplib2/certs.py
39 +@@ -19,9 +19,7 @@ except ImportError:
40 + pass
41 +
42 +
43 +-BUILTIN_CA_CERTS = os.path.join(
44 +- os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
45 +-)
46 ++BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
47 +
48 +
49 + def where():
50
51 diff --git a/dev-python/httplib2/httplib2-0.12.1.ebuild b/dev-python/httplib2/httplib2-0.12.1.ebuild
52 index 0d4ac24b523..e80ad4f83e4 100644
53 --- a/dev-python/httplib2/httplib2-0.12.1.ebuild
54 +++ b/dev-python/httplib2/httplib2-0.12.1.ebuild
55 @@ -21,7 +21,7 @@ RDEPEND="app-misc/ca-certificates"
56 # tests connect to random remote sites
57 RESTRICT="test"
58
59 -PATCHES=( "${FILESDIR}"/${PN}-0.11.3-use-system-cacerts.patch )
60 +PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
61
62 python_prepare_all() {
63 chmod o+r */*egg*/* || die