Accepting request 333732 from home:posophe:branches:devel:languages:python

update

OBS-URL: https://build.opensuse.org/request/show/333732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=7
This commit is contained in:
Denisart Benjamin 2015-09-25 11:47:24 +00:00 committed by Git OBS Bridge
parent 56fd2bc218
commit fcee04a79c
5 changed files with 51 additions and 20 deletions

View File

@ -15,17 +15,23 @@ diff --git a/dev-requirements.txt b/dev-requirements.txt
index 02d70f4..98de1cc 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,5 +1,5 @@
-nose==1.3.3
-mock==1.0.1
-tornado==3.2.2
@@ -1,8 +1,8 @@
-nose==1.3.7
-nose-exclude==0.4.1
-mock==1.3.0
-coverage==3.7.1
-tox==1.7.1
+nose>=1.3.3
+mock>=1.0.1
+tornado>=3.2.2
-tox==2.1.1
-twine==1.5.0
-wheel==0.24.0
-tornado==4.2.1
+nose>=1.3.7
+nose-exclude>=0.4.1
+mock>=1.3.0
+coverage>=3.7.1
+tox>=1.7.1
+tox>=2.1.1
+twine>=1.5.0
+wheel>=0.24.0
+tornado>=4.2.1
--
1.9.0

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Sep 25 11:24:49 UTC 2015 - p.drouand@gmail.com
- Update to version 1.12
* Rely on six for importing httplib to work around conflicts with
other Python 3 shims. (Issue #688)
* Add support for directories of certificate authorities, as
supported by OpenSSL. (Issue #701)
* New exception: NewConnectionError, raised when we fail to
establish a new connection, usually ECONNREFUSED socket error.
- Fix version dependencies
- Add new build requirements following upstream changes
* python-nose-exclude
* python-tox
* python-twine
* python-wheel
- Update 0001-Don-t-pin-dependency-to-exact-version.patch
- Disable tests for now, as there require network
-------------------------------------------------------------------
Thu Sep 11 12:38:13 UTC 2014 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-urllib3
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products 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-urllib3
Version: 1.9
Version: 1.12
Release: 0
Summary: HTTP library with thread-safe connection pooling, file post, and more
License: MIT
@ -28,11 +28,16 @@ Source: https://pypi.python.org/packages/source/u/urllib3/urllib3-%{vers
Patch0: 0001-Don-t-pin-dependency-to-exact-version.patch
# PATCH-FIX-OPENSUSE speilicke@suse.com -- We need no coverage report
Patch1: urllib3-test-no-coverage.patch
BuildRequires: python-certifi
BuildRequires: python-devel
# Test requirements:
BuildRequires: python-mock >= 1.0.1
BuildRequires: python-nose >= 1.3
BuildRequires: python-tornado >= 3.1.1
BuildRequires: python-mock >= 1.3.0
BuildRequires: python-nose >= 1.3.7
BuildRequires: python-nose-exclude >= 0.4.1
BuildRequires: python-tornado >= 4.2.1
BuildRequires: python-tox >= 2.1.1
BuildRequires: python-twine >= 1.5.0
BuildRequires: python-wheel >= 0.24.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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()")}
@ -67,9 +72,10 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
rm -rf build
PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
# Tests require network
#%check
#rm -rf build
#PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
%files
%defattr(-,root,root,-)

3
urllib3-1.12.tar.gz Normal file
View File

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

View File

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