Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-poetry-core for openSUSE:Factory checked in at 2026-08-28 19:46:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-poetry-core (Old) and /work/SRC/openSUSE:Factory/.python-poetry-core.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-poetry-core" Fri Aug 28 19:46:57 2026 rev:32 rq:1374083 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-poetry-core/python-poetry-core.changes 2026-05-07 15:43:52.336419185 +0200 +++ /work/SRC/openSUSE:Factory/.python-poetry-core.new.1265/python-poetry-core.changes 2026-08-28 19:47:23.509996372 +0200 @@ -1,0 +2,6 @@ +Wed Aug 26 09:54:30 UTC 2026 - Markéta Machová <[email protected]> + +- Add %{?pythons_for_pypi}, convert to multibuild to keep the minimal + stack truly minimal + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-poetry-core.spec ++++++ --- /var/tmp/diff_new_pack.pojAvZ/_old 2026-08-28 19:47:24.397027377 +0200 +++ /var/tmp/diff_new_pack.pojAvZ/_new 2026-08-28 19:47:24.403027587 +0200 @@ -16,8 +16,17 @@ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%{?pythons_for_pypi} +%endif %{?sle15_python_module_pythons} -Name: python-poetry-core +Name: python-poetry-core%{psuffix} Version: 2.4.0 Release: 0 Summary: Poetry PEP 517 Build Backend @@ -30,9 +39,11 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +%if %{with test} # SECTION these are all test dependencies, including python-devel and git-core BuildRequires: %{python_module devel >= 3.10} BuildRequires: %{python_module build >= 0.10.0} +BuildRequires: %{python_module poetry-core = %{version}} BuildRequires: %{python_module pytest >= 7.1.2} BuildRequires: %{python_module pytest-mock >= 3.10} BuildRequires: %{python_module setuptools >= 60} @@ -41,6 +52,7 @@ BuildRequires: %{python_module virtualenv >= 20.21} BuildRequires: git-core # /SECTION +%endif %python_subpackages %description @@ -59,23 +71,31 @@ cp -p src/poetry/core/_vendor/tomli/LICENSE vendoredlicenses/tomli.LICENSE %build +%if !%{with test} %pyproject_wheel +%endif %install +%if !%{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %check +%if %{with test} # gh#python-poetry/poetry#1645 git init # tests expect the default 2016-01-01 for test builds, not the epoch set by OBS (serverside) unset SOURCE_DATE_EPOCH %pytest +%endif +%if !%{with test} %files %{python_files} %doc README.md %license LICENSE vendoredlicenses/* %dir %{python_sitelib}/poetry %{python_sitelib}/poetry/core %{python_sitelib}/poetry_core-%{version}.dist-info +%endif ++++++ _multibuild ++++++ <multibuild> <flavor>test</flavor> </multibuild>
