[packages/python3-contourpy] - enabled tests and doc

qboosh qboosh at pld-linux.org
Mon Nov 24 08:51:59 CET 2025


commit c6f6f4f394e217cc4d2c11c5ab6475b77083e2af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 24 08:51:59 2025 +0100

    - enabled tests and doc

 python3-contourpy.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python3-contourpy.spec b/python3-contourpy.spec
index e96315b..b08a0e2 100644
--- a/python3-contourpy.spec
+++ b/python3-contourpy.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
-%bcond_with	doc	# API documentation
-%bcond_with	tests	# unit tests, nonesense dependency loop with matplotlib
+%bcond_without	doc	# API documentation
+%bcond_without	tests	# unit tests (disable for bootstrap: dependency loop with matplotlib)
 
 %define		module	contourpy
 Summary:	Python library for calculating contours of 2D quadrilateral grids
@@ -75,7 +75,7 @@ CXXFLAGS="%{rpmcxxflags} -Wno-error=array-bounds"
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
+%{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests -k 'not test_mypy'
 %endif
 
 %if %{with doc}
@@ -107,5 +107,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc docs/_build/html/*
+%doc docs/_build/html/{_images,_modules,_static,api,benchmarks,user_guide,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-contourpy.git/commitdiff/c6f6f4f394e217cc4d2c11c5ab6475b77083e2af




More information about the pld-cvs-commit mailing list