Accepting request 336812 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/336812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2015-10-08 06:25:24 +00:00 committed by Git OBS Bridge
commit ad9cfbca7e
5 changed files with 54 additions and 22 deletions

View File

@ -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

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Tue Oct 6 15:03:05 UTC 2015 - hpj@urpla.net
- add python-pyOpenSSL, python-certifi and python-pyasn1 requirements
-------------------------------------------------------------------
Tue Oct 6 12:46:25 UTC 2015 - hpj@urpla.net
- Comment out test requirements, as tests are disabled anyway, and
one of these packages depend on python-requests, which depends on
this package resulting in a circular dependency for openSUSE <= 13.1
-------------------------------------------------------------------
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

View File

@ -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 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
@ -29,10 +29,9 @@ 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-devel BuildRequires: python-devel
# Test requirements: Requires: python-certifi
BuildRequires: python-mock >= 1.0.1 Requires: python-pyOpenSSL
BuildRequires: python-nose >= 1.3 Requires: python-pyasn1
BuildRequires: python-tornado >= 3.1.1
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,10 +66,6 @@ python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
rm -rf build
PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst %doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst

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