mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-28 09:58:08 -07:00
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:
@@ -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():
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user