summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-gevent
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-01-22 15:32:03 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-01-22 15:53:49 +0000
commit52e67d4e6307a161491825bdfca01dd36b2228e1 (patch)
treef4c2bea6dab8d9df21d41323f120aeb34bfaf96a /recipes-devtools/python/python-gevent
parentcceef93ba83497dcce2c1cdac91555d82371450a (diff)
downloadmeta-virtualization-52e67d4e6307a161491825bdfca01dd36b2228e1.tar.gz
python: update support packages to python3
Updating the python support packages to python3. Some packages are dropped in favour of variants that are in meta-python, some are updated and update to the new python3 name for others. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-gevent')
-rw-r--r--recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch29
-rw-r--r--recipes-devtools/python/python-gevent/libev-conf.patch19
2 files changed, 0 insertions, 48 deletions
diff --git a/recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch b/recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch
deleted file mode 100644
index 623d04f0..00000000
--- a/recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From c2dc97478fcc3757e09d5d2997391960a8351d53 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Sun, 29 Mar 2015 22:34:28 -0400
4Subject: [PATCH] gevent: allow ssl v2 or v3 certificates
5
6Work around an issue with python 2.7 not always having SSLv3 available
7by allowing v2 or v3 certificates.
8
9Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
10---
11 gevent/ssl.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/gevent/ssl.py b/gevent/ssl.py
15index ce6434718d1b..93c0d642da5f 100644
16--- a/gevent/ssl.py
17+++ b/gevent/ssl.py
18@@ -383,7 +383,7 @@ def wrap_socket(sock, keyfile=None, certfile=None,
19 ciphers=ciphers)
20
21
22-def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
23+def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None):
24 """Retrieve the certificate from the server at the specified address,
25 and return it as a PEM-encoded string.
26 If 'ca_certs' is specified, validate the server cert against it.
27--
281.9.1
29
diff --git a/recipes-devtools/python/python-gevent/libev-conf.patch b/recipes-devtools/python/python-gevent/libev-conf.patch
deleted file mode 100644
index 283705f8..00000000
--- a/recipes-devtools/python/python-gevent/libev-conf.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1Due to differences in library locations, the cross compile test can fail because it can't run
2the conftest binary (dynamically linked). Building it statically instead.
3
4Signed-off-by: Amy Fong <amy.fong@windriver.com>
5---
6 libev/configure | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9--- a/libev/configure
10+++ b/libev/configure
11@@ -2730,7 +2730,7 @@
12 ac_ext=c
13 ac_cpp='$CPP $CPPFLAGS'
14 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16+ac_link='$CC -static -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18 if test -n "$ac_tool_prefix"; then
19 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.