[packages/python-sphinxcontrib-apidoc] - pytest 4+/7+ is actually OK, but tests require already installed package
qboosh
qboosh at pld-linux.org
Thu Mar 16 20:07:07 CET 2023
commit 7f26119cf1ce57aafd422f51e1c9735c8b260c39
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Mar 16 19:19:10 2023 +0100
- pytest 4+/7+ is actually OK, but tests require already installed package
python-sphinxcontrib-apidoc.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-sphinxcontrib-apidoc.spec b/python-sphinxcontrib-apidoc.spec
index 3f77697..69e0050 100644
--- a/python-sphinxcontrib-apidoc.spec
+++ b/python-sphinxcontrib-apidoc.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_without tests # unit tests
+%bcond_without tests # unit tests (requires package already installed)
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
@@ -22,7 +22,7 @@ BuildRequires: python-setuptools
%if %{with tests}
BuildRequires: python-Sphinx >= 1.6.0
BuildRequires: python-pytest >= 3.0
-BuildRequires: python-pytest < 4.0
+BuildRequires: python-sphinxcontrib-apidoc
%endif
%endif
%if %{with python3}
@@ -32,7 +32,7 @@ BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-Sphinx >= 1.6.0
BuildRequires: python3-pytest >= 3.0
-BuildRequires: python3-pytest < 4.0
+BuildRequires: python3-sphinxcontrib-apidoc
%endif
%endif
BuildRequires: rpm-pythonprov
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib-apidoc.git/commitdiff/7f26119cf1ce57aafd422f51e1c9735c8b260c39
More information about the pld-cvs-commit
mailing list