Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-rtmidi for
openSUSE:Factory checked in at 2023-07-01 23:18:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-rtmidi (Old)
and /work/SRC/openSUSE:Factory/.python-python-rtmidi.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-rtmidi"
Sat Jul 1 23:18:10 2023 rev:9 rq:1096208 version:1.4.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-rtmidi/python-python-rtmidi.changes
2023-02-21 15:36:54.064583208 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-rtmidi.new.13546/python-python-rtmidi.changes
2023-07-01 23:18:15.102332401 +0200
@@ -1,0 +2,5 @@
+Tue Jun 27 12:56:49 UTC 2023 - Edgar Aichinger <[email protected]>
+
+- remove src/_rtmidi.cpp to let it be regenerated, to allow for python 3.11
flavour
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-rtmidi.spec ++++++
--- /var/tmp/diff_new_pack.7gjb20/_old 2023-07-01 23:18:15.702335997 +0200
+++ /var/tmp/diff_new_pack.7gjb20/_new 2023-07-01 23:18:15.702335997 +0200
@@ -15,9 +15,6 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-
-# Do not support python 3.11 yet, gh#SpotlightKid/python-rtmidi#115
-%define skip_python311 1
Name: python-python-rtmidi
Version: 1.4.9
Release: 0
@@ -29,7 +26,10 @@
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module Cython <= 1.0.0}
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: pkgconfig
@@ -62,9 +62,10 @@
%prep
%setup -q -n python-rtmidi-%{version}
sed -i 's,/usr/bin/env python,%{_bindir}/%{python_for_executables},'
examples/*.py examples/*/*.py
+rm src/_rtmidi.cpp
%build
-%python_build
+%pyproject_wheel
# docs
rm docs/rtmidi.rst
@@ -76,7 +77,7 @@
rm docs/_build/html/.buildinfo docs/_build/html/objects.inv
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
# not running tests since they require working JACK/ALSA,