Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-magic-wormhole for
openSUSE:Factory checked in at 2024-02-27 22:48:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-magic-wormhole (Old)
and /work/SRC/openSUSE:Factory/.python-magic-wormhole.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-magic-wormhole"
Tue Feb 27 22:48:18 2024 rev:13 rq:1152047 version:0.13.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-magic-wormhole/python-magic-wormhole.changes
2023-09-21 22:14:35.054434645 +0200
+++
/work/SRC/openSUSE:Factory/.python-magic-wormhole.new.1770/python-magic-wormhole.changes
2024-02-27 22:48:27.182748971 +0100
@@ -1,0 +2,7 @@
+Sat Feb 24 10:17:09 UTC 2024 - Ben Greiner <[email protected]>
+
+- Build as PEP517 wheel
+- Replace old vendored versioneer for python 3.12 support
+ gh#magic-wormhole/magic-wormhole#507
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-magic-wormhole.spec ++++++
--- /var/tmp/diff_new_pack.soXV5B/_old 2024-02-27 22:48:27.682766966 +0100
+++ /var/tmp/diff_new_pack.soXV5B/_new 2024-02-27 22:48:27.682766966 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-magic-wormhole
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -35,12 +35,15 @@
BuildRequires: %{python_module magic-wormhole-mailbox-server}
BuildRequires: %{python_module magic-wormhole-transit-relay}
BuildRequires: %{python_module noiseprotocol}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module spake2 >= 0.8}
BuildRequires: %{python_module tqdm >= 4.13.0}
BuildRequires: %{python_module txtorcon >= 18.0.2}
+BuildRequires: %{python_module versioneer}
+BuildRequires: %{python_module wheel}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -73,12 +76,15 @@
%prep
%setup -q -n %{modname}-%{version}
+# replace vendored old versioneer by system version with python 3.12 support
+# gh#magic-wormhole/magic-wormhole#507
+rm versioneer.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/wormhole
@@ -96,5 +102,5 @@
%doc NEWS.md README.md
%python_alternative %{_bindir}/wormhole
%{python_sitelib}/wormhole
-%{python_sitelib}/magic_wormhole-%{version}*-info
+%{python_sitelib}/magic_wormhole-%{version}.dist-info