[packages/python3-jaraco.packaging] - enable doctests by default
qboosh
qboosh at pld-linux.org
Sat Nov 29 21:28:37 CET 2025
commit 553c2c0b97d02eb84851ac5ec4b98d2226d4be0c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 29 21:28:45 2025 +0100
- enable doctests by default
python3-jaraco.packaging.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python3-jaraco.packaging.spec b/python3-jaraco.packaging.spec
index aa097e1..1b045a5 100644
--- a/python3-jaraco.packaging.spec
+++ b/python3-jaraco.packaging.spec
@@ -1,7 +1,7 @@
#
# Conditional build:
%bcond_without doc # Sphinx documentation
-%bcond_with tests # unit tests (no tests in sources)
+%bcond_without tests # unit tests (doctests)
Summary: Tools to supplement packaging Python releases
Summary(pl.UTF-8): Narzędzia wspierające pakietowanie wydań modułów Pythona
@@ -76,11 +76,10 @@ Dokumentacja API modułu Pythona jaraco.packaging.
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest
+%{__python3} -m pytest jaraco/packaging/metadata.py
%endif
%if %{with doc}
-# no Makefile
PYTHONPATH=$(pwd) \
sphinx-build-3 -b html docs docs/_build/html
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-jaraco.packaging.git/commitdiff/553c2c0b97d02eb84851ac5ec4b98d2226d4be0c
More information about the pld-cvs-commit
mailing list