14
0

Accepting request 248643 from home:TheBlackCat:branches:devel:languages:python

Update to version 1.9

OBS-URL: https://build.opensuse.org/request/show/248643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=5
This commit is contained in:
Todd R
2014-09-11 16:17:34 +00:00
committed by Git OBS Bridge
parent f13ca61bf3
commit 56fd2bc218
7 changed files with 75 additions and 59 deletions

View File

@@ -17,7 +17,7 @@
Name: python-urllib3
Version: 1.8
Version: 1.9
Release: 0
Summary: HTTP library with thread-safe connection pooling, file post, and more
License: MIT
@@ -26,10 +26,8 @@ Url: http://urllib3.readthedocs.org/
Source: https://pypi.python.org/packages/source/u/urllib3/urllib3-%{version}.tar.gz
# PATCH-FIX-UPSTREAM speilicke@suse.com -- https://github.com/shazow/urllib3/pull/361
Patch0: 0001-Don-t-pin-dependency-to-exact-version.patch
# PATCH-FIX-UPSTREAM speilicke@suse.com -- https://github.com/shazow/urllib3/pull/362
Patch1: 0001-Don-t-install-dummyserver-into-site-packages.patch
# PATCH-FIX-OPENSUSE speilicke@suse.com -- We need no coverage report
Patch2: urllib3-test-no-coverage.patch
Patch1: urllib3-test-no-coverage.patch
BuildRequires: python-devel
# Test requirements:
BuildRequires: python-mock >= 1.0.1
@@ -62,7 +60,6 @@ Highlights
%setup -q -n urllib3-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
python setup.py build
@@ -71,7 +68,8 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
nosetests
rm -rf build
PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
%files
%defattr(-,root,root,-)