Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyserial for openSUSE:Factory
checked in at 2025-06-11 16:19:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyserial (Old)
and /work/SRC/openSUSE:Factory/.python-pyserial.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyserial"
Wed Jun 11 16:19:15 2025 rev:24 rq:1284647 version:3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyserial/python-pyserial.changes
2025-01-17 18:37:44.893890779 +0100
+++
/work/SRC/openSUSE:Factory/.python-pyserial.new.19631/python-pyserial.changes
2025-06-11 16:19:49.971722325 +0200
@@ -1,0 +2,5 @@
+Wed Jun 11 05:49:32 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyserial.spec ++++++
--- /var/tmp/diff_new_pack.VXROXC/_old 2025-06-11 16:19:50.599748501 +0200
+++ /var/tmp/diff_new_pack.VXROXC/_new 2025-06-11 16:19:50.603748667 +0200
@@ -34,7 +34,9 @@
# PATCH-FIX-UPSTREAM - pyserial/pyserial#757 - Replace deprecated
unittest.findTestCases function
Patch1:
https://github.com/pyserial/pyserial/pull/757.patch#/replace-deprecated-unittest-function.patch
BuildRequires: %{python_module base}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
@@ -85,12 +87,12 @@
touch test/__init__.py
%build
-%python_build
+%pyproject_wheel
make %{?_smp_mflags} -C documentation html && rm
documentation/_build/html/.buildinfo # Build HTML documentation
sed -i -e "1{s|^#![[:space:]]*\/.*bin.*$|#!%{_bindir}/python3|}" examples/*.py
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pyserial-miniterm
%python_clone -a %{buildroot}%{_bindir}/pyserial-ports
@@ -122,7 +124,7 @@
%python_alternative pyserial-miniterm
%python_alternative pyserial-ports
%{python_sitelib}/serial/
-%{python_sitelib}/pyserial-%{version}-py*.egg-info
+%{python_sitelib}/pyserial-%{version}.dist-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc