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-11-07 21:26:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-rtmidi (Old)
and /work/SRC/openSUSE:Factory/.python-python-rtmidi.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-rtmidi"
Tue Nov 7 21:26:17 2023 rev:10 rq:1123698 version:1.5.7
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-rtmidi/python-python-rtmidi.changes
2023-07-01 23:18:15.102332401 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-rtmidi.new.17445/python-python-rtmidi.changes
2023-11-07 21:26:57.924854579 +0100
@@ -1,0 +2,49 @@
+Mon Nov 6 23:47:32 UTC 2023 - Mia Herkt <[email protected]>
+
+- Omit html docs due to hostile build system
+- Update to 1.5.7
+Fixes:
+ * Fixed linting errors in `send_all.py` example.
+ gh#SpotlightKid/python-rtmidi#184
+ * Fixed (no)gil/except declarations on MIDI in callback and
+ `MidiOut.sendMessage`.
+
+ The GIL is acquired in any case for MIDI in callback and C++
+ `sendMessage` call, since Cython needs to check for exceptions.
+
+ Also remove wrong statement about the GIL being released in
+ docstring for `send_message`.
+ gh#SpotlightKid/python-rtmidi#185
+ * Fixed errors and check for empty message correctly when passing
+ an iter- or generator instead of a sequence to
+ `MidiOut.send_message`.
+ gh#SpotlightKid/python-rtmidi#186
+ gh#SpotlightKid/python-rtmidi#188
+- 1.5.6
+Fixes:
+ * Fixed building with `meson-python` >= 0.14.0.
+ gh#SpotlightKid/python-rtmidi#177
+- 1.5.5
+ * Bump minimum Python version to 3.8
+Fixes:
+ * Fixed Cython compilation errors and warnings.
+ gh#SpotlightKid/python-rtmidi#174
+- 1.5.4
+Changes:
+ * Added `send_all.py` script to examples.
+ gh#SpotlightKid/python-rtmidi#167
+- 1.5.3, 1.5.2
+Changes:
+ * Updated `rtmidi` submodule.
+ gh#SpotlightKid/python-rtmidi#156
+- 1.5.1, 1.5.0
+Fixes:
+ * Fixed memleak in `midiutils.list_{in,out}put_ports` function.
+ gh#SpotlightKid/python-rtmidi#103
+ * Fixed compilation with PyPy3.
+Documentation:
+ * Clarified return types in docstrings.
+ * Converted readme, changelog, authors, and install docs to
+ Markdown.
+
+-------------------------------------------------------------------
Old:
----
python-rtmidi-1.4.9.tar.gz
New:
----
python_rtmidi-1.5.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-rtmidi.spec ++++++
--- /var/tmp/diff_new_pack.u8kBtX/_old 2023-11-07 21:26:58.872889489 +0100
+++ /var/tmp/diff_new_pack.u8kBtX/_new 2023-11-07 21:26:58.876889636 +0100
@@ -15,28 +15,30 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
Name: python-python-rtmidi
-Version: 1.4.9
+Version: 1.5.7
Release: 0
Summary: Python binding for the RtMidi C++ library
License: MIT
Group: Development/Languages/Python
URL: https://spotlightkid.github.io/python-rtmidi/
-Source:
https://files.pythonhosted.org/packages/source/p/python-rtmidi/python-rtmidi-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/p/python-rtmidi/python_rtmidi-%{version}.tar.gz
+BuildRequires: %{python_module Cython <= 1.0.0}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module meson-python}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module wheel}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module Cython <= 1.0.0}
+BuildRequires: %{python_module wheel}
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(jack)
-BuildRequires: python(abi) > 3.5
+BuildRequires: python(abi) > 3.8
%python_subpackages
%description
@@ -51,31 +53,14 @@
PEP-8 conventions and requirements of the Python package naming
structure.
-%package doc
-Summary: HTML documentation and examples for python-rtmidi
-Group: Documentation/Other
-BuildArch: noarch
-
-%description doc
-Contains HTML documentation and examples for python-rtmidi.
-
%prep
-%setup -q -n python-rtmidi-%{version}
+%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
%pyproject_wheel
-# docs
-rm docs/rtmidi.rst
-rm docs/modules.rst
-%{python_for_executables} ./setup.py build_ext --inplace
-sphinx-apidoc -o docs/ rtmidi rtmidi/release.py
-cat docs/api.rst.inc >> docs/rtmidi.rst
-%make_build -C docs html
-rm docs/_build/html/.buildinfo docs/_build/html/objects.inv
-
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -84,11 +69,9 @@
# which cannot be provided on OBS workers
%files %{python_files}
-%license LICENSE.txt
-%doc AUTHORS.rst CHANGELOG.rst README.rst
+%license LICENSE.md
+%doc AUTHORS.md CHANGELOG.md README.md
+%doc examples
%{python_sitearch}/rtmidi
%{python_sitearch}/python_rtmidi-%{version}*-info
-%files %{python_files doc}
-%doc docs/_build/html examples
-