Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pypubsub for openSUSE:Factory checked in at 2025-06-11 16:22:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pypubsub (Old) and /work/SRC/openSUSE:Factory/.python-pypubsub.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pypubsub" Wed Jun 11 16:22:57 2025 rev:2 rq:1284435 version:4.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pypubsub/python-pypubsub.changes 2021-12-02 02:24:14.344820101 +0100 +++ /work/SRC/openSUSE:Factory/.python-pypubsub.new.19631/python-pypubsub.changes 2025-06-11 16:24:03.270285468 +0200 @@ -1,0 +2,5 @@ +Tue Jun 10 12:24:13 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pypubsub.spec ++++++ --- /var/tmp/diff_new_pack.OKWCQU/_old 2025-06-11 16:24:04.138321691 +0200 +++ /var/tmp/diff_new_pack.OKWCQU/_new 2025-06-11 16:24:04.138321691 +0200 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-pypubsub # -# Copyright (c) 2021 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 @@ -17,27 +17,22 @@ %global pypi_name pypubsub -%global src_name Pypubsub -%define skip_python2 1 - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} - Name: python-%{pypi_name} Version: 4.0.3 Release: 0 Summary: Python Publish-Subscribe Package -Group: Development/Python License: BSD-2-Clause +# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" +Group: Development/Python URL: https://github.com/schollii/pypubsub Source: https://github.com/schollii/%{pypi_name}/archive/refs/tags/v%{version}.tar.gz - +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros - BuildArch: noarch - %python_subpackages %description @@ -53,10 +48,10 @@ %setup -q -n %{pypi_name}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -67,7 +62,6 @@ %files %{python_files} %doc README.rst src/pubsub/RELEASE_NOTES.txt %license src/pubsub/LICENSE_BSD_Simple.txt -%dir %{python_sitelib}/%{src_name}-%{version}-py%{python_version}.egg-info %{python_sitelib}/pubsub -%{python_sitelib}/%{src_name}-%{version}*-info +%{python_sitelib}/[Pp]ypubsub-%{version}*-info