forked from pool/python-pytest-sphinx
This commit is contained in:
@@ -25,7 +25,9 @@ Summary: Doctest plugin for pytest with support for Sphinx-specific docte
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/thisch/pytest-sphinx
|
||||
Source: https://github.com/thisch/pytest-sphinx/archive/v%{version}.tar.gz#/pytest-sphinx-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 7.0.0
|
||||
@@ -43,10 +45,10 @@ Doctest plugin for pytest with support for Sphinx-specific doctest-directives.
|
||||
%setup -q -n pytest-sphinx-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -55,6 +57,8 @@ Doctest plugin for pytest with support for Sphinx-specific doctest-directives.
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pytest_sphinx.py
|
||||
%{python_sitelib}/pytest_sphinx-%{version}.dist-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user