forked from pool/python-python-rtmidi
- Fix rpmlint warnings
- Update to 1.4.2 Enhancements: * Added more helpful aliases for MIDI events/controllers constants Examples: * Added ccstore advanced example to show how to remember last seen controller change values OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-rtmidi?expand=0&rev=3
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-rtmidi
|
||||
Version: 1.4.1
|
||||
Version: 1.4.2
|
||||
Release: 0
|
||||
Summary: Python binding for the RtMidi C++ library
|
||||
License: MIT
|
||||
@@ -59,6 +59,7 @@ Contains HTML documentation and examples for python-rtmidi.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-rtmidi-%{version}
|
||||
sed -i 's,/usr/bin/env python,/usr/bin/%{python_for_executables},' examples/*.py examples/*/*.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -70,6 +71,7 @@ rm docs/modules.rst
|
||||
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
|
||||
%python_install
|
||||
|
Reference in New Issue
Block a user