14
0
forked from pool/python-pycurl

- update to 7.43.0.5

- refresh python-pycurl-7.43.0-tls-backend.patch 
 * added python 3.8 support
 * officialy ended support for python 2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=68
This commit is contained in:
2020-03-03 13:10:06 +00:00
committed by Git OBS Bridge
parent 9f3b1794c6
commit 61b2e0c368
5 changed files with 20 additions and 13 deletions

View File

@@ -11,10 +11,10 @@ Bug: https://bugzilla.redhat.com/1446850
src/module.c | 20 +-------------------
1 file changed, 1 insertion(+), 19 deletions(-)
Index: pycurl-7.43.0.3/src/module.c
Index: pycurl-7.43.0.5/src/module.c
===================================================================
--- pycurl-7.43.0.3.orig/src/module.c
+++ pycurl-7.43.0.3/src/module.c
--- pycurl-7.43.0.5.orig/src/module.c
+++ pycurl-7.43.0.5/src/module.c
@@ -322,7 +322,7 @@ initpycurl(void)
{
PyObject *m, *d;
@@ -24,7 +24,7 @@ Index: pycurl-7.43.0.3/src/module.c
size_t libcurl_version_len, pycurl_version_len;
PyObject *xio_module = NULL;
PyObject *collections_module = NULL;
@@ -345,26 +345,6 @@ initpycurl(void)
@@ -345,27 +345,6 @@ initpycurl(void)
goto error;
}
@@ -34,6 +34,8 @@ Index: pycurl-7.43.0.3/src/module.c
- } else if (!strncmp(vi->ssl_version, "OpenSSL/", 8) || !strncmp(vi->ssl_version, "LibreSSL/", 9) ||
- !strncmp(vi->ssl_version, "BoringSSL", 9)) {
- runtime_ssl_lib = "openssl";
- } else if (!strncmp(vi->ssl_version, "wolfSSL/", 8)) {
- runtime_ssl_lib = "wolfssl";
- } else if (!strncmp(vi->ssl_version, "GnuTLS/", 7)) {
- runtime_ssl_lib = "gnutls";
- } else if (!strncmp(vi->ssl_version, "NSS/", 4)) {
@@ -47,7 +49,6 @@ Index: pycurl-7.43.0.3/src/module.c
- PyErr_Format(PyExc_ImportError, "pycurl: libcurl link-time ssl backend (%s) is different from compile-time ssl backend (%s)", runtime_ssl_lib, COMPILE_SSL_LIB);
- goto error;
- }
-
/* Initialize the type of the new type objects here; doing it here
* is required for portability to Windows without requiring C++. */
p_Curl_Type = &Curl_Type;