- Also remove the conditional definition of python_module.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flasgger?expand=0&rev=10
This commit is contained in:
parent
2dc5ba161e
commit
bd80881954
@ -2,6 +2,7 @@
|
||||
Sun Oct 23 10:03:15 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Re-activate test suite
|
||||
- Also remove the conditional definition of python_module.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 07:23:15 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-flasgger
|
||||
Version: 0.9.5
|
||||
Release: 0
|
||||
@ -51,15 +50,20 @@ Flasgger is a Flask extension to extract OpenAPI=Specification from all Flask vi
|
||||
|
||||
%prep
|
||||
%setup -q -n flasgger-%{version}
|
||||
|
||||
# Examples directory is not included in PyPI release
|
||||
rm tests/test_examples.py
|
||||
|
||||
find . -name .DS_Store -print -delete
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand chmod -x %{buildroot}%{$python_sitelib}/flasgger/ui2/static/lang/*.js
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
|
||||
%check
|
||||
%pytest tests/
|
||||
|
Loading…
Reference in New Issue
Block a user