forked from pool/python-pycurl
- update for multipython build - merge python3 project - update and apply pycurl-no-runtime-curlvercheck.patch - run test suite - single doc package for all pythons - update to version 7.43.0: * Highlights of this release: + Binary wheels are now built for Windows systems. + setopt_string method added to Curl objects to permit setting string libcurl options that PycURL does not know about. + curl module can now be imported on Windows again. + OPENSOCKETFUNCTION callback is now invoked with the address as bytes on Python 3 as was documented. + Support for many libcurl options and constants was added. - specfile: * update copyright year * update patch - update to version 7.21.5: * Highlights of this release: + Socket callbacks are now fully implemented ("CURLOPT_OPENSOCKETFUNCTION", "CURLOPT_SOCKOPTFUNCTION", "CURLOPT_CLOSESOCKETFUNCTION"). Unfortunately this required changing "OPENSOCKETFUNCTION" API once again in a backwards-incompatible manner. Support for "SOCKOPTFUNCTION" and "CLOSESOCKETFUNCTION" was added in this release. "OPENSOCKETFUNCTION" now supports Unix sockets. + Many other libcurl options and constants have been added to PycURL. OBS-URL: https://build.opensuse.org/request/show/486190 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=25
14 lines
554 B
Diff
14 lines
554 B
Diff
Index: pycurl-7.19.5/src/module.c
|
|
===================================================================
|
|
--- pycurl-7.19.5.orig/src/module.c
|
|
+++ pycurl-7.19.5/src/module.c
|
|
@@ -416,7 +416,7 @@ initpycurl(void)
|
|
#undef PYCURL_VERSION_PREFIX_SIZE
|
|
|
|
insstr_modinit(d, "version", g_pycurl_useragent);
|
|
- insstr_modinit(d, "COMPILE_DATE", __DATE__ " " __TIME__);
|
|
+ //insstr_modinit(d, "COMPILE_DATE", __DATE__ " " __TIME__);
|
|
insint(d, "COMPILE_PY_VERSION_HEX", PY_VERSION_HEX);
|
|
insint(d, "COMPILE_LIBCURL_VERSION_NUM", LIBCURL_VERSION_NUM);
|
|
|