14
0
forked from pool/python-pycurl

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
This commit is contained in:
Michal Čihař
2015-03-25 14:11:46 +00:00
committed by Git OBS Bridge
parent a2d3ea1a31
commit de9105ba7b
4 changed files with 53 additions and 8 deletions

View File

@@ -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