Accepting request 477406 from home:weberho:branches:devel:languages:python

- fixed dependencies in spec

- update to version 2.13.0
  * Only load the idna library when we’ve determined we need it. 
    This will save some memory for users.
  * Updated bundled urllib3 to 1.20.
  * Updated bundled idna to 2.2.

- update to version 2.12.5
  * Fixed an issue with JSON encoding detection, specifically detecting 
    big-endian UTF-32 with BOM.

OBS-URL: https://build.opensuse.org/request/show/477406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=95
This commit is contained in:
Thomas Bechtold 2017-03-20 15:48:37 +00:00 committed by Git OBS Bridge
parent 154c4f7af4
commit ef72fbb351
4 changed files with 24 additions and 9 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Mar 6 15:09:56 UTC 2017 - jweberhofer@weberhofer.at
- fixed dependencies in spec
- update to version 2.13.0
* Only load the idna library when weve determined we need it.
This will save some memory for users.
* Updated bundled urllib3 to 1.20.
* Updated bundled idna to 2.2.
- update to version 2.12.5
* Fixed an issue with JSON encoding detection, specifically detecting
big-endian UTF-32 with BOM.
-------------------------------------------------------------------
Wed Dec 28 08:46:15 UTC 2016 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-requests
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -20,7 +20,7 @@
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
Name: python-requests
Version: 2.12.4
Version: 2.13.0
Release: 0
Summary: Awesome Python HTTP Library That's Actually Usable
License: Apache-2.0
@ -36,11 +36,13 @@ BuildRequires: python-devel
BuildRequires: python-py
BuildRequires: python-setuptools
Requires: python
# for good measure, at least recommend an actual set of certificates
Recommends: ca-certificates-mozilla
Recommends: python-cryptography >= 1.3.4
# requirements for pyopenssl fallback of bundled urllib3
Recommends: python-ndg-httpsclient
Recommends: python-pyOpenSSL
Recommends: python-pyOpenSSL >= 0.14
Recommends: python-pyasn1
Recommends: python-cryptography
%if 0%{?suse_version} <= 1200
BuildRequires: openssl-certs
Requires: openssl-certs
@ -48,8 +50,6 @@ Requires: openssl-certs
BuildRequires: ca-certificates
Requires: ca-certificates
%endif
# for good measure, at least recommend an actual set of certificates
Recommends: ca-certificates-mozilla
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%else

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed98431a0631e309bb4b63c81d561c1654822cb103de1ac7b47e45c26be7ae34
size 547650

3
requests-2.13.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5722cd09762faa01276230270ff16af7acf7c5c45d623868d9ba116f15791ce8
size 557508