forked from pool/python-sphinx-autodoc-typehints
Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=26
This commit is contained in:
parent
36e1105890
commit
ce57ddbe08
@ -39,6 +39,7 @@ BuildArch: noarch
|
||||
# SECTION tests
|
||||
BuildRequires: %{python_module Sphinx >= 1.7}
|
||||
BuildRequires: %{python_module doc}
|
||||
BuildRequires: %{python_module nptyping}
|
||||
BuildRequires: %{python_module pathlib}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module sphobjinv}
|
||||
@ -63,11 +64,12 @@ and return value types of functions.
|
||||
|
||||
%check
|
||||
# test_sphinx_output -- too depenedent on sphinx version available
|
||||
%pytest -k 'not test_sphinx_output'
|
||||
# gh#tox-dev/sphinx-autodoc-typehints#229
|
||||
%pytest -k 'not (test_sphinx_output or test_format_annotation)'
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%doc README.md CHANGELOG.md
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user