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:
parent
56fd2bc218
commit
fcee04a79c
@ -15,17 +15,23 @@ diff --git a/dev-requirements.txt b/dev-requirements.txt
|
|||||||
index 02d70f4..98de1cc 100644
|
index 02d70f4..98de1cc 100644
|
||||||
--- a/dev-requirements.txt
|
--- a/dev-requirements.txt
|
||||||
+++ b/dev-requirements.txt
|
+++ b/dev-requirements.txt
|
||||||
@@ -1,5 +1,5 @@
|
@@ -1,8 +1,8 @@
|
||||||
-nose==1.3.3
|
-nose==1.3.7
|
||||||
-mock==1.0.1
|
-nose-exclude==0.4.1
|
||||||
-tornado==3.2.2
|
-mock==1.3.0
|
||||||
-coverage==3.7.1
|
-coverage==3.7.1
|
||||||
-tox==1.7.1
|
-tox==2.1.1
|
||||||
+nose>=1.3.3
|
-twine==1.5.0
|
||||||
+mock>=1.0.1
|
-wheel==0.24.0
|
||||||
+tornado>=3.2.2
|
-tornado==4.2.1
|
||||||
|
+nose>=1.3.7
|
||||||
|
+nose-exclude>=0.4.1
|
||||||
|
+mock>=1.3.0
|
||||||
+coverage>=3.7.1
|
+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
|
1.9.0
|
||||||
|
|
||||||
|
@ -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
|
Thu Sep 11 12:38:13 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-urllib3
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-urllib3
|
Name: python-urllib3
|
||||||
Version: 1.9
|
Version: 1.12
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: HTTP library with thread-safe connection pooling, file post, and more
|
Summary: HTTP library with thread-safe connection pooling, file post, and more
|
||||||
License: MIT
|
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
|
Patch0: 0001-Don-t-pin-dependency-to-exact-version.patch
|
||||||
# PATCH-FIX-OPENSUSE speilicke@suse.com -- We need no coverage report
|
# PATCH-FIX-OPENSUSE speilicke@suse.com -- We need no coverage report
|
||||||
Patch1: urllib3-test-no-coverage.patch
|
Patch1: urllib3-test-no-coverage.patch
|
||||||
|
BuildRequires: python-certifi
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
# Test requirements:
|
# Test requirements:
|
||||||
BuildRequires: python-mock >= 1.0.1
|
BuildRequires: python-mock >= 1.3.0
|
||||||
BuildRequires: python-nose >= 1.3
|
BuildRequires: python-nose >= 1.3.7
|
||||||
BuildRequires: python-tornado >= 3.1.1
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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()")}
|
%{!?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
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
# Tests require network
|
||||||
rm -rf build
|
#%check
|
||||||
PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
|
#rm -rf build
|
||||||
|
#PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
3
urllib3-1.12.tar.gz
Normal file
3
urllib3-1.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0ea512776971fe4e76192600fe41e4e7ee96b4b9a5b15aefc1ac31d2a63872c6
|
||||||
|
size 151072
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4e400b2e2f53652dd0d8062ca5ecc425b6af6e96989b8d31f5dd875186aa247b
|
|
||||||
size 91865
|
|
Loading…
x
Reference in New Issue
Block a user