14
0

Accepting request 697734 from home:pgajdos

- added patches
  fix https://github.com/softlayer/softlayer-python/issues/1095
  + python-softlayer-fix-teset_setup_cancel.patch

OBS-URL: https://build.opensuse.org/request/show/697734
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-softlayer?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2019-04-25 07:39:20 +00:00
committed by Git OBS Bridge
parent 723b25fcd3
commit 51a40222b1
3 changed files with 30 additions and 2 deletions

View File

@@ -25,6 +25,8 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/softlayer/softlayer-python
Source: https://github.com/softlayer/softlayer-python/archive/v%{version}.tar.gz
# fix https://github.com/softlayer/softlayer-python/issues/1095
Patch0: python-softlayer-fix-teset_setup_cancel.patch
BuildRequires: %{python_module PrettyTable >= 0.7.0}
BuildRequires: %{python_module click}
BuildRequires: %{python_module mock}
@@ -53,6 +55,7 @@ This library provides a simple Python client to interact with SoftLayer's XML-RP
%prep
%setup -q -n softlayer-python-%{version}
%patch0 -p1
%build
%python_build
@@ -64,8 +67,7 @@ This library provides a simple Python client to interact with SoftLayer's XML-RP
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
# https://github.com/softlayer/softlayer-python/issues/1095#issuecomment-481233467
%pytest -k 'not test_setup_cancel'
%pytest
%files %{python_files}
%license LICENSE