forked from pool/python-requests
- Update to 0.12.1
* New Response.json property * Ability to add string file uploads * Fix out-of-range issue with iter_lines * Fix iter_content default size * Fix POST redirects containing files - 0.12.0 (2012-05-02) * EXPERIMENTAL OAUTH SUPPORT! * Proper CookieJar-backed cookies interface with awesome dict-like interface. * Speed fix for non-iterated content chunks. * Move pre_request to a more usable place. * New pre_send hook. * Lazily encode data, params, files * Load system Certificate Bundle if certify isn't available. * Cleanups, fixes. - Add python-chardet and python-oauthlib requirements - Run test suite (added python-distribute build requirement to enable) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=17
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: python-requests
|
||||
Version: 0.11.2
|
||||
Version: 0.12.1
|
||||
Release: 0
|
||||
Url: http://python-requests.org
|
||||
Summary: Awesome Python HTTP Library That's Actually Usable
|
||||
@@ -28,8 +28,13 @@ Source: http://pypi.python.org/packages/source/r/requests/requests-%{ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-chardet
|
||||
BuildRequires: python-oauthlib
|
||||
Requires: python
|
||||
Requires: python-certifi
|
||||
Requires: python-chardet
|
||||
Requires: python-oauthlib
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
@@ -66,6 +71,9 @@ Features:
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
|
Reference in New Issue
Block a user