Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pudb for openSUSE:Factory checked in at 2023-09-07 21:12:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pudb (Old) and /work/SRC/openSUSE:Factory/.python-pudb.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pudb" Thu Sep 7 21:12:25 2023 rev:11 rq:1108067 version:2022.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pudb/python-pudb.changes 2022-11-11 14:36:54.526417466 +0100 +++ /work/SRC/openSUSE:Factory/.python-pudb.new.1766/python-pudb.changes 2023-09-07 21:12:51.053540983 +0200 @@ -1,0 +2,5 @@ +Wed Aug 30 08:57:06 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Clean up the SPEC file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pudb.spec ++++++ --- /var/tmp/diff_new_pack.y7973k/_old 2023-09-07 21:12:52.125579306 +0200 +++ /var/tmp/diff_new_pack.y7973k/_new 2023-09-07 21:12:52.125579306 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pudb # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,6 @@ %define upstream_name pudb %define module_name pudb %define py_maj_ver %(c=%{python}) -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pudb Version: 2022.1.3 @@ -29,13 +28,17 @@ Group: Development/Tools/Debuggers URL: https://mathema.tician.de/software/pudb Source0: https://files.pythonhosted.org/packages/source/p/%{upstream_name}/%{upstream_name}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-mock} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module urwid} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Pygments +Requires: python-jedi +Requires: python-packaging Requires: python-urwid +Requires: python-urwid-readline Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch @@ -47,15 +50,15 @@ of Turbo Pascal. %prep -%setup -q -n %{upstream_name}-%{version} +%autosetup -p1 -n %{upstream_name}-%{version} sed -i '1{\@^#! %{_bindir}/env python@d}' pudb/debugger.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install mv -v %{buildroot}%{_bindir}/pudb{*,} || /bin/true %python_clone -a %{buildroot}%{_bindir}/pudb %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -81,6 +84,6 @@ %doc README.rst %license LICENSE %{python_sitelib}/%{module_name} -%{python_sitelib}/%{module_name}*.egg-info +%{python_sitelib}/%{module_name}*-info %python_alternative %{_bindir}/pudb