14
0

Accepting request 336766 from home:frispete:python

Here we go..

- add python-pyOpenSSL, python-certifi and python-pyasn1 requirements 

- 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

OBS-URL: https://build.opensuse.org/request/show/336766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=8
This commit is contained in:
Todd R
2015-10-06 17:00:40 +00:00
committed by Git OBS Bridge
parent fcee04a79c
commit baf2d7fb0b
2 changed files with 16 additions and 15 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
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

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-urllib3
#
# Copyright (c) 2015 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,16 +28,10 @@ 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.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
Requires: python-certifi
Requires: python-pyOpenSSL
Requires: python-pyasn1
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()")}
@@ -72,11 +66,6 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Tests require network
#%check
#rm -rf build
#PYTHONPATH="%{buildroot}%{python_sitelib}" nosetests -I test_util.py
%files
%defattr(-,root,root,-)
%doc CHANGES.rst CONTRIBUTORS.txt LICENSE.txt README.rst