From a21d8565dded5f8bf29295b8b18da9c907bd0a59e7c63321d253ca111e449dd6 Mon Sep 17 00:00:00 2001 From: James Oakley Date: Fri, 18 May 2012 01:36:28 +0000 Subject: [PATCH] - 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 --- python-requests.changes | 21 +++++++++++++++++++++ python-requests.spec | 10 +++++++++- requests-0.11.2.tar.gz | 3 --- requests-0.12.1.tar.gz | 3 +++ 4 files changed, 33 insertions(+), 4 deletions(-) delete mode 100644 requests-0.11.2.tar.gz create mode 100644 requests-0.12.1.tar.gz diff --git a/python-requests.changes b/python-requests.changes index c28b936..2fa3b55 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri May 18 00:41:52 UTC 2012 - jfunk@funktronics.ca + +- 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) + ------------------------------------------------------------------- Fri Apr 27 22:57:43 UTC 2012 - jfunk@funktronics.ca diff --git a/python-requests.spec b/python-requests.spec index 0a5ffc7..9ec3b5f 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -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} diff --git a/requests-0.11.2.tar.gz b/requests-0.11.2.tar.gz deleted file mode 100644 index 419def4..0000000 --- a/requests-0.11.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:547bf78a774a6018271d6e5c40613ec554642ba4d6cdf45813e7894145293c57 -size 71080 diff --git a/requests-0.12.1.tar.gz b/requests-0.12.1.tar.gz new file mode 100644 index 0000000..1fb918c --- /dev/null +++ b/requests-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ce56b87180c06728d96ca734055675abf8f5cc3136e0d7712a6260430685589 +size 78245