15
0
forked from pool/python-fire

Accepting request 682932 from home:mcepl:branches:devel:languages:python

- Add fix-issue-164.patch patch to fix gh#google/python-fire#164
  and we can run whole test suite.

OBS-URL: https://build.opensuse.org/request/show/682932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=7
This commit is contained in:
2019-03-08 23:35:04 +00:00
committed by Git OBS Bridge
parent 58753198d6
commit 6446221631
3 changed files with 66 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/google/python-fire
Source: https://files.pythonhosted.org/packages/source/f/fire/fire-%{version}.tar.gz
Patch0: fix-issue-164.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -45,6 +46,7 @@ interfaces (CLIs) from a Python object.
%prep
%setup -q -n fire-%{version}
%autopatch -p1
%build
%python_build
@@ -54,8 +56,7 @@ interfaces (CLIs) from a Python object.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# gh#google/python-fire#164
%python_expand pytest-%{$python_bin_suffix} -k 'not (testFireKeywordArgs or testFireObjectWithDict or testHelpStringBuiltin or testGetFullArgSpecFromBuiltin)' fire
%python_expand pytest-%{$python_bin_suffix} -v fire
%files %{python_files}
%license LICENSE