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