forked from pool/python-urllib3
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:
@@ -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
|
Fri Sep 25 11:24:49 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-urllib3
|
# 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
|
# 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
|
||||||
@@ -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
|
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:
|
Requires: python-certifi
|
||||||
BuildRequires: python-mock >= 1.3.0
|
Requires: python-pyOpenSSL
|
||||||
BuildRequires: python-nose >= 1.3.7
|
Requires: python-pyasn1
|
||||||
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()")}
|
||||||
@@ -72,11 +66,6 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
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
|
%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
|
||||||
|
Reference in New Issue
Block a user