Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sshtunnel for
openSUSE:Factory checked in at 2024-03-27 20:42:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sshtunnel (Old)
and /work/SRC/openSUSE:Factory/.python-sshtunnel.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sshtunnel"
Wed Mar 27 20:42:26 2024 rev:8 rq:1162364 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sshtunnel/python-sshtunnel.changes
2024-01-15 22:21:52.120664647 +0100
+++
/work/SRC/openSUSE:Factory/.python-sshtunnel.new.1905/python-sshtunnel.changes
2024-03-27 20:42:55.473909902 +0100
@@ -1,0 +2,9 @@
+Tue Mar 26 18:57:48 UTC 2024 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Switch build system from setuptools to pyproject.toml
+ + Add python-pip and python-wheel to BuildRequires
+ + Replace %python_build with %pyproject_wheel
+ + Replace %python_install with %pyproject_install
+- Limit Python files matched in %files section
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sshtunnel.spec ++++++
--- /var/tmp/diff_new_pack.GbFvj9/_old 2024-03-27 20:42:55.977928486 +0100
+++ /var/tmp/diff_new_pack.GbFvj9/_new 2024-03-27 20:42:55.981928633 +0100
@@ -26,8 +26,10 @@
URL: https://github.com/pahaz/sshtunnel/
Source:
https://files.pythonhosted.org/packages/source/s/sshtunnel/sshtunnel-%{version}.tar.gz
BuildRequires: %{python_module paramiko >= 2.7.2}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
# for the tests to validate some things
BuildRequires: fdupes
BuildRequires: openssh
@@ -49,10 +51,10 @@
sed -i '1{\,^#!%{_bindir}/env python,d}' sshtunnel.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/sshtunnel
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -71,5 +73,7 @@
%license LICENSE
%doc *.rst
%python_alternative %{_bindir}/sshtunnel
-%{python_sitelib}/*
+%{python_sitelib}/__pycache__/sshtunnel*pyc
+%{python_sitelib}/sshtunnel.py
+%{python_sitelib}/sshtunnel-*.dist-info