Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-extras for openSUSE:Factory checked in at 2025-05-30 14:27:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-extras (Old) and /work/SRC/openSUSE:Factory/.python-extras.new.25440 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-extras" Fri May 30 14:27:40 2025 rev:16 rq:1280516 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-extras/python-extras.changes 2023-04-22 22:02:00.817773607 +0200 +++ /work/SRC/openSUSE:Factory/.python-extras.new.25440/python-extras.changes 2025-05-30 17:25:29.935690834 +0200 @@ -1,0 +2,5 @@ +Tue May 27 10:24:36 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-extras.spec ++++++ --- /var/tmp/diff_new_pack.btzA8n/_old 2025-05-30 17:25:30.399709929 +0200 +++ /var/tmp/diff_new_pack.btzA8n/_new 2025-05-30 17:25:30.403710094 +0200 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-extras # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} # A build cycle exists between python-extras and python-testtools. %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" @@ -34,7 +33,9 @@ License: MIT URL: https://github.com/testing-cabal/extras Source: https://files.pythonhosted.org/packages/source/e/extras/extras-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # Break cycle @@ -55,17 +56,17 @@ %setup -q -n extras-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %if %{with test} %check -%python_exec -m unittest discover +%pyunittest %endif %if !%{with test} @@ -73,6 +74,6 @@ %license LICENSE %doc NEWS README.rst %{python_sitelib}/extras -%{python_sitelib}/extras-%{version}-py%{python_version}.egg-info/ +%{python_sitelib}/extras-%{version}*-info/ %endif