From de9105ba7bf5f11c0ff3e254ba47aa255d6e0a8ff5c717522acc074426e6c9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 25 Mar 2015 14:11:46 +0000 Subject: [PATCH] Accepting request 293100 from home:Nijel:branches:devel:languages:python - Run testsuite during build - Update to 7.19.5.1: * Added CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME. * setup.py now prints PycURL-specific option help when -h is used. * LibreSSL is now supported (patch by JiCiT.) * Fixed an oversight that broke PycURL building against libcurl 7.19.4 through 7.21.1. The bug was introduced in PycURL 7.19.5. * Tests are now included in source distributions again, thanks to Kamil Dudka and Johan Bergstroem. * Added CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT (libcurl 7.20.0+) and CURLOPT_MAIL_AUTH (libcurl 7.25.0+). * Tests removed from source and binary distributions. * Documentation greatly improved. Quickstart guide added. * pycurl.Curl, pycurl.CurlMulti and pycurl.CurlShare are now classes rather than factory functions. Previously, the classes were "hidden" (they were accessible as e.g. type(pycurl.Curl()), but could not be instantiated, nor could class methods be obtained from the classes. Please see this mailing list post for further information: http://curl.haxx.se/mail/curlpython-2014-06/0004.html * When passing a file-like object to READDATA option, PycURL was mistakenly looking for write method on this object. Now read method is looked up, as would be expected. * Python 3.4 is now officially supported. * Windows packages now build libcurl against zlib. * CherryPy is no longer required for the test suite, ssl module from the Python standard library is used instead. * Fixed a reference leak of SOCKET and TIMER callbacks on CurlMulti instances, thanks to Ben Darnell. * Fixed build against openssl on cygwin, where pycurl needs to link OBS-URL: https://build.opensuse.org/request/show/293100 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=23 --- pycurl-7.19.3.1.tar.gz | 3 --- pycurl-7.19.5.1.tar.gz | 3 +++ python-pycurl.changes | 40 ++++++++++++++++++++++++++++++++++++++++ python-pycurl.spec | 15 ++++++++++----- 4 files changed, 53 insertions(+), 8 deletions(-) delete mode 100644 pycurl-7.19.3.1.tar.gz create mode 100644 pycurl-7.19.5.1.tar.gz diff --git a/pycurl-7.19.3.1.tar.gz b/pycurl-7.19.3.1.tar.gz deleted file mode 100644 index 6d3704a..0000000 --- a/pycurl-7.19.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f -size 116687 diff --git a/pycurl-7.19.5.1.tar.gz b/pycurl-7.19.5.1.tar.gz new file mode 100644 index 0000000..bab3ade --- /dev/null +++ b/pycurl-7.19.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e9770f80459757f73bd71af82fbb29cd398b38388cdf1beab31ea91a331bc6c +size 142140 diff --git a/python-pycurl.changes b/python-pycurl.changes index 2dbf909..9085098 100644 --- a/python-pycurl.changes +++ b/python-pycurl.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Wed Mar 25 13:54:46 UTC 2015 - mcihar@suse.cz + +- Run testsuite during build + +------------------------------------------------------------------- +Wed Mar 25 13:51:16 UTC 2015 - mcihar@suse.cz + +- Update to 7.19.5.1: + * Added CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME. + * setup.py now prints PycURL-specific option help when -h is used. + * LibreSSL is now supported (patch by JiCiT.) + * Fixed an oversight that broke PycURL building against libcurl 7.19.4 + through 7.21.1. The bug was introduced in PycURL 7.19.5. + * Tests are now included in source distributions again, thanks to + Kamil Dudka and Johan Bergstroem. + * Added CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT (libcurl 7.20.0+) + and CURLOPT_MAIL_AUTH (libcurl 7.25.0+). + * Tests removed from source and binary distributions. + * Documentation greatly improved. Quickstart guide added. + * pycurl.Curl, pycurl.CurlMulti and pycurl.CurlShare are now classes + rather than factory functions. Previously, the classes were "hidden" + (they were accessible as e.g. type(pycurl.Curl()), but could not be + instantiated, nor could class methods be obtained from the classes. + Please see this mailing list post for further information: + http://curl.haxx.se/mail/curlpython-2014-06/0004.html + * When passing a file-like object to READDATA option, PycURL was + mistakenly looking for write method on this object. Now read method + is looked up, as would be expected. + * Python 3.4 is now officially supported. + * Windows packages now build libcurl against zlib. + * CherryPy is no longer required for the test suite, ssl module from + the Python standard library is used instead. + * Fixed a reference leak of SOCKET and TIMER callbacks on + CurlMulti instances, thanks to Ben Darnell. + * Fixed build against openssl on cygwin, where pycurl needs to link + against libcrypto rather than libssl. + * Added CURLOPT_SSH_KNOWNHOSTS (libcurl 7.19.6+). + * Added CURLE_FTP_ACCEPT_FAILED (libcurl 7.24.0+). + ------------------------------------------------------------------- Mon May 26 14:17:15 UTC 2014 - toddrme2178@gmail.com diff --git a/python-pycurl.spec b/python-pycurl.spec index 9c400e0..012365c 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycurl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-pycurl -Version: 7.19.3.1 +Version: 7.19.5.1 Release: 0 Url: http://pycurl.sourceforge.net/ Summary: PycURL -- cURL library module @@ -28,13 +28,13 @@ Patch0: pycurl-no-runtime-curlvercheck.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libcurl-devel >= 7.19.0 BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: python-bottle BuildRequires: python-CherryPy +BuildRequires: python-bottle +BuildRequires: python-devel BuildRequires: python-nose BuildRequires: python-simplejson -Requires: python-bottle Requires: python-CherryPy +Requires: python-bottle Requires: python-simplejson %if 0%{?suse_version} %py_requires @@ -67,6 +67,11 @@ CFLAGS="%{optflags}" python setup.py build --with-ssl python setup.py install --prefix=%{_prefix} --root=%{buildroot} --with-ssl rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk +%check +%if 0%{?suse_version} >= 1320 +make test +%endif + %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING-LGPL COPYING-MIT README.rst