diff --git a/python-python-rtmidi.changes b/python-python-rtmidi.changes index 7c8a969..644ba19 100644 --- a/python-python-rtmidi.changes +++ b/python-python-rtmidi.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Mon Nov 6 23:47:32 UTC 2023 - Mia Herkt + +- 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. + ------------------------------------------------------------------- Tue Jun 27 12:56:49 UTC 2023 - Edgar Aichinger diff --git a/python-python-rtmidi.spec b/python-python-rtmidi.spec index 8e9777a..b6c53e3 100644 --- a/python-python-rtmidi.spec +++ b/python-python-rtmidi.spec @@ -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 @@ scheme of classes, methods and parameters adapted to the Python 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,12 +69,10 @@ rm docs/_build/html/.buildinfo docs/_build/html/objects.inv # 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 - %changelog diff --git a/python-rtmidi-1.4.9.tar.gz b/python-rtmidi-1.4.9.tar.gz deleted file mode 100644 index 9bf9184..0000000 --- a/python-rtmidi-1.4.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bfeb4ed99d0cccf6fa2837566907652ded7adc1c03b69f2160c9de4082301302 -size 251238 diff --git a/python_rtmidi-1.5.7.tar.gz b/python_rtmidi-1.5.7.tar.gz new file mode 100644 index 0000000..d968d77 --- /dev/null +++ b/python_rtmidi-1.5.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:defb1a4b2ae86ff398c232c53eeda554e24a49f67de842e79ceba8b3ca77374d +size 368514