14
0
forked from pool/python-pycurl

Accepting request 486190 from devel:languages:python:singlespec

- 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
This commit is contained in:
Jan Matejek
2017-04-06 15:49:32 +00:00
committed by Git OBS Bridge
parent de9105ba7b
commit 6a7bfb0850
5 changed files with 169 additions and 34 deletions

View File

@@ -1,11 +1,13 @@
--- a/src/pycurl.c 2014-02-06 10:27:56.000000000 +0100
+++ b/src/pycurl.c 2014-05-20 16:09:57.513592172 +0200
@@ -4526,7 +4526,7 @@
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
insobj2(d, NULL, "version", PyText_FromString(g_pycurl_useragent));
- insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
+ //insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
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);