Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pook for openSUSE:Factory 
checked in at 2026-09-23 18:18:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pook (Old)
 and      /work/SRC/openSUSE:Factory/.python-pook.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pook"

Wed Sep 23 18:18:04 2026 rev:12 rq:1379945 version:2.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pook/python-pook.changes  2026-08-05 
17:49:06.515325110 +0200
+++ /work/SRC/openSUSE:Factory/.python-pook.new.383539/python-pook.changes      
2026-09-23 18:18:06.471922901 +0200
@@ -1,0 +2,5 @@
+Tue Sep 22 09:31:02 UTC 2026 - Markéta Machová <[email protected]>
+
+- Convert to multibuild to avoid build cycle with python-pytest-pook
+
+-------------------------------------------------------------------

New:
----
  _multibuild

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pook.spec ++++++
--- /var/tmp/diff_new_pack.EGsBA3/_old  2026-09-23 18:18:07.160951396 +0200
+++ /var/tmp/diff_new_pack.EGsBA3/_new  2026-09-23 18:18:07.161951437 +0200
@@ -16,9 +16,18 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+
 # requires python-aiohttp
 %{?sle15_python_module_pythons}
-Name:           python-pook
+Name:           python-pook%{?psuffix}
 Version:        2.1.6
 Release:        0
 Summary:        HTTP traffic mocking and expectations
@@ -36,7 +45,9 @@
 Requires:       python-jsonschema >= 2.5.1
 Requires:       python-xmltodict >= 0.11.0
 BuildArch:      noarch
+%if %{with test}
 # SECTION test requirements
+BuildRequires:  %{python_module pook = %{version}}
 BuildRequires:  %{python_module aiohttp >= 3.10}
 BuildRequires:  %{python_module async-timeout >= 4.0}
 BuildRequires:  %{python_module falcon >= 4.0}
@@ -51,6 +62,7 @@
 BuildRequires:  %{python_module urllib3 >= 2.2}
 BuildRequires:  %{python_module xmltodict >= 0.11.0}
 # /SECTION
+%endif
 %python_subpackages
 
 %description
@@ -64,25 +76,32 @@
 touch tests/__init__.py
 
 %build
+%if !%{with test}
 %pyproject_wheel
+%endif
 
 %install
+%if !%{with test}
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 export PYTHONDONTWRITEBYTECODE=1
 %{python_expand  #
-export PYTHONPATH=%{buildroot}%{$python_sitelib}
 $python -m pytest -v tests/unit
 $python -m pytest -v tests/integration/engines/pytest_suite.py
-export PYTHONPATH=%{buildroot}%{$python_sitelib}:.
+export PYTHONPATH=.
 $python -m unittest tests.integration.engines.unittest_suite
 }
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/pook
 %{python_sitelib}/pook-%{version}*-info
+%endif
 

++++++ _multibuild ++++++
<multibuild>
  <flavor>test</flavor>
</multibuild>

Reply via email to