[packages/python3-pure-eval] - pl, tests

qboosh qboosh at pld-linux.org
Mon Nov 24 15:45:54 CET 2025


commit 6e3aea01fbcda9caa49ce248627dfbf8c0dced06
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 24 15:45:57 2025 +0100

    - pl, tests

 python3-pure-eval.spec | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/python3-pure-eval.spec b/python3-pure-eval.spec
index 9cbe52c..430921c 100644
--- a/python3-pure-eval.spec
+++ b/python3-pure-eval.spec
@@ -1,4 +1,9 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
 Summary:	Safely evaluate AST nodes without side effects
+Summary(pl.UTF-8):	Bezpieczne wyliczanie węzłów AST bez efektów ubocznych
 Name:		python3-pure-eval
 Version:	0.2.3
 Release:	1
@@ -23,12 +28,20 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Safely evaluate AST nodes without side effects.
 
+%description -l pl.UTF-8
+Bezpieczne wyliczanie węzłów AST bez efektów ubocznych.
+
 %prep
 %setup -q -n pure_eval-%{version}
 
 %build
 %py3_build_pyproject
 
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pure-eval.git/commitdiff/6e3aea01fbcda9caa49ce248627dfbf8c0dced06




More information about the pld-cvs-commit mailing list