]> git.pld-linux.org Git - packages/python3-click.git/commitdiff
- more doc dependencies, disable pytest plugins
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 14 Mar 2022 19:48:55 +0000 (20:48 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 14 Mar 2022 19:48:55 +0000 (20:48 +0100)
python-click.spec

index 93695bd104f8503c206de581c867db14eede86ce..f7bdbfd91dd948a0739142ee01a364bdec8e4d6e 100644 (file)
@@ -9,6 +9,7 @@
 Summary:       A simple wrapper around optparse for powerful command line utilities
 Summary(pl.UTF-8):     Proste obudowanie optparse do tworzenia potężnych narzędzi linii poleceń
 Name:          python-%{module}
+# keep 7.x here for python2 support
 Version:       7.1.2
 Release:       3
 License:       BSD
@@ -33,8 +34,10 @@ BuildRequires:       python3-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires: sphinx-pdg-3
-BuildRequires: python3-pallets-sphinx-themes
+BuildRequires: sphinx-pdg-3 >= 2.4.4
+BuildRequires: python3-pallets-sphinx-themes >= 1.2.3
+BuildRequires: python3-sphinxcontrib-log-cabinet >= 1.0.1
+BuildRequires: python3-sphinx_issues >= 1.2.0
 %endif
 Requires:      python-modules >= 1:2.7
 BuildArch:     noarch
@@ -92,6 +95,7 @@ Dokumentacja do modułu Pythona click.
 
 %if %{with tests}
 LC_ALL=C.UTF-8 \
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd)/src \
 %{__python} -m pytest tests --tb=long --verbose
 %endif
@@ -101,6 +105,7 @@ PYTHONPATH=$(pwd)/src \
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd)/src \
 %{__python3} -m pytest tests --tb=long --verbose
 %endif
This page took 0.108558 seconds and 4 git commands to generate.