Hello community, here is the log from the commit of package python-sounddevice for openSUSE:Factory checked in at 2020-03-26 23:35:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sounddevice (Old) and /work/SRC/openSUSE:Factory/.python-sounddevice.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sounddevice" Thu Mar 26 23:35:01 2020 rev:8 rq:788589 version:0.3.15 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sounddevice/python-sounddevice.changes 2020-03-14 09:55:32.203118783 +0100 +++ /work/SRC/openSUSE:Factory/.python-sounddevice.new.3160/python-sounddevice.changes 2020-03-26 23:35:22.094820409 +0100 @@ -1,0 +2,6 @@ +Thu Mar 26 14:13:08 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- Update to 0.3.15 + * This will be the last release supporting Python 2.x! + +------------------------------------------------------------------- Old: ---- sounddevice-0.3.14.tar.gz New: ---- sounddevice-0.3.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sounddevice.spec ++++++ --- /var/tmp/diff_new_pack.sK02ez/_old 2020-03-26 23:35:22.630820602 +0100 +++ /var/tmp/diff_new_pack.sK02ez/_new 2020-03-26 23:35:22.634820604 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sounddevice -Version: 0.3.14 +Version: 0.3.15 Release: 0 Summary: Module to play and record sound with Python License: MIT ++++++ sounddevice-0.3.14.tar.gz -> sounddevice-0.3.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/LICENSE new/sounddevice-0.3.15/LICENSE --- old/sounddevice-0.3.14/LICENSE 2019-08-25 18:29:59.000000000 +0200 +++ new/sounddevice-0.3.15/LICENSE 2020-03-18 09:54:19.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2015-2019 Matthias Geier +Copyright (c) 2015-2020 Matthias Geier Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/NEWS.rst new/sounddevice-0.3.15/NEWS.rst --- old/sounddevice-0.3.14/NEWS.rst 2019-09-25 11:39:53.000000000 +0200 +++ new/sounddevice-0.3.15/NEWS.rst 2020-03-18 10:11:15.000000000 +0100 @@ -1,3 +1,6 @@ +0.3.15 (2020-03-18): + * This will be the last release supporting Python 2.x! + 0.3.14 (2019-09-25): * Examples ``play_sine.py`` and ``rec_gui.py`` * Redirect ``stderr`` only during initialization diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/PKG-INFO new/sounddevice-0.3.15/PKG-INFO --- old/sounddevice-0.3.14/PKG-INFO 2019-09-25 11:45:40.000000000 +0200 +++ new/sounddevice-0.3.15/PKG-INFO 2020-03-18 10:14:15.994104400 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sounddevice -Version: 0.3.14 +Version: 0.3.15 Summary: Play and Record Sound with Python Home-page: http://python-sounddevice.readthedocs.io/ Author: Matthias Geier @@ -12,6 +12,8 @@ This Python_ module provides bindings for the PortAudio_ library and a few convenience functions to play and record NumPy_ arrays containing audio signals. + The ``sounddevice`` module is available for Linux, macOS and Windows. + Documentation: https://python-sounddevice.readthedocs.io/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/README.rst new/sounddevice-0.3.15/README.rst --- old/sounddevice-0.3.14/README.rst 2019-09-20 09:17:44.000000000 +0200 +++ new/sounddevice-0.3.15/README.rst 2019-12-02 23:53:37.000000000 +0100 @@ -4,6 +4,8 @@ This Python_ module provides bindings for the PortAudio_ library and a few convenience functions to play and record NumPy_ arrays containing audio signals. +The ``sounddevice`` module is available for Linux, macOS and Windows. + Documentation: https://python-sounddevice.readthedocs.io/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/checking-hardware.rst new/sounddevice-0.3.15/doc/api/checking-hardware.rst --- old/sounddevice-0.3.14/doc/api/checking-hardware.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/checking-hardware.rst 2019-12-16 11:59:34.000000000 +0100 @@ -0,0 +1,23 @@ +Checking Available Hardware +=========================== + +.. currentmodule:: sounddevice + +.. autosummary:: + :nosignatures: + + query_devices + DeviceList + query_hostapis + check_input_settings + check_output_settings + +.. autofunction:: query_devices + +.. autoclass:: DeviceList + +.. autofunction:: query_hostapis + +.. autofunction:: check_input_settings + +.. autofunction:: check_output_settings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/convenience-functions.rst new/sounddevice-0.3.15/doc/api/convenience-functions.rst --- old/sounddevice-0.3.14/doc/api/convenience-functions.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/convenience-functions.rst 2019-12-16 11:59:34.000000000 +0100 @@ -0,0 +1,29 @@ +Convenience Functions using NumPy Arrays +======================================== + +.. currentmodule:: sounddevice + +.. autosummary:: + :nosignatures: + + play + rec + playrec + wait + stop + get_status + get_stream + +.. autofunction:: play + +.. autofunction:: rec + +.. autofunction:: playrec + +.. autofunction:: wait + +.. autofunction:: stop + +.. autofunction:: get_status + +.. autofunction:: get_stream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/index.rst new/sounddevice-0.3.15/doc/api/index.rst --- old/sounddevice-0.3.14/doc/api/index.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/index.rst 2019-10-25 11:23:27.000000000 +0200 @@ -0,0 +1,16 @@ +API Documentation +================= + +.. automodule:: sounddevice + +---- + +.. toctree:: + + convenience-functions + checking-hardware + module-defaults + platform-specific-settings + streams + raw-streams + misc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/misc.rst new/sounddevice-0.3.15/doc/api/misc.rst --- old/sounddevice-0.3.14/doc/api/misc.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/misc.rst 2019-12-16 11:59:34.000000000 +0100 @@ -0,0 +1,27 @@ +Miscellaneous +============= + +.. currentmodule:: sounddevice + +.. autosummary:: + :nosignatures: + + sleep + get_portaudio_version + CallbackFlags + CallbackStop + CallbackAbort + PortAudioError + +.. autofunction:: sleep + +.. autofunction:: get_portaudio_version + +.. autoclass:: CallbackFlags + :members: + +.. autoclass:: CallbackStop + +.. autoclass:: CallbackAbort + +.. autoclass:: PortAudioError diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/module-defaults.rst new/sounddevice-0.3.15/doc/api/module-defaults.rst --- old/sounddevice-0.3.14/doc/api/module-defaults.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/module-defaults.rst 2019-12-16 11:59:34.000000000 +0100 @@ -0,0 +1,12 @@ +Module-wide Default Settings +============================ + +.. currentmodule:: sounddevice + +.. autosummary:: + :nosignatures: + + default + +.. autoclass:: default + :members: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/platform-specific-settings.rst new/sounddevice-0.3.15/doc/api/platform-specific-settings.rst --- old/sounddevice-0.3.14/doc/api/platform-specific-settings.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/platform-specific-settings.rst 2019-12-16 11:59:34.000000000 +0100 @@ -0,0 +1,17 @@ +Platform-specific Settings +========================== + +.. currentmodule:: sounddevice + +.. autosummary:: + :nosignatures: + + AsioSettings + CoreAudioSettings + WasapiSettings + +.. autoclass:: AsioSettings + +.. autoclass:: CoreAudioSettings + +.. autoclass:: WasapiSettings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/raw-streams.rst new/sounddevice-0.3.15/doc/api/raw-streams.rst --- old/sounddevice-0.3.14/doc/api/raw-streams.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/raw-streams.rst 2019-12-16 11:59:34.000000000 +0100 @@ -0,0 +1,18 @@ +Raw Streams +=========== + +.. currentmodule:: sounddevice + +.. autosummary:: + :nosignatures: + + RawStream + RawInputStream + RawOutputStream + +.. autoclass:: RawStream + :members: read, write + +.. autoclass:: RawInputStream + +.. autoclass:: RawOutputStream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api/streams.rst new/sounddevice-0.3.15/doc/api/streams.rst --- old/sounddevice-0.3.14/doc/api/streams.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/sounddevice-0.3.15/doc/api/streams.rst 2019-12-16 11:59:34.000000000 +0100 @@ -0,0 +1,21 @@ +Streams using NumPy Arrays +========================== + +.. currentmodule:: sounddevice + +.. autosummary:: + :nosignatures: + + Stream + InputStream + OutputStream + +.. autoclass:: Stream + :members: + :undoc-members: + :inherited-members: + +.. autoclass:: InputStream + +.. autoclass:: OutputStream + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/api.rst new/sounddevice-0.3.15/doc/api.rst --- old/sounddevice-0.3.14/doc/api.rst 2019-08-25 18:29:59.000000000 +0200 +++ new/sounddevice-0.3.15/doc/api.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,44 +0,0 @@ -API Documentation -================= - -.. automodule:: sounddevice - :members: - :undoc-members: - :exclude-members: RawInputStream, RawOutputStream, RawStream, - InputStream, OutputStream, Stream, - CallbackFlags, CallbackStop, CallbackAbort, - PortAudioError, DeviceList, - AsioSettings, CoreAudioSettings, WasapiSettings - -.. autoclass:: Stream - :members: - :undoc-members: - :inherited-members: - -.. autoclass:: InputStream - -.. autoclass:: OutputStream - -.. autoclass:: RawStream - :members: read, write - -.. autoclass:: RawInputStream - -.. autoclass:: RawOutputStream - -.. autoclass:: DeviceList - -.. autoclass:: CallbackFlags - :members: - -.. autoclass:: CallbackStop - -.. autoclass:: CallbackAbort - -.. autoclass:: PortAudioError - -.. autoclass:: AsioSettings - -.. autoclass:: CoreAudioSettings - -.. autoclass:: WasapiSettings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/conf.py new/sounddevice-0.3.15/doc/conf.py --- old/sounddevice-0.3.14/doc/conf.py 2019-09-20 09:17:44.000000000 +0200 +++ new/sounddevice-0.3.15/doc/conf.py 2020-03-18 09:54:19.000000000 +0100 @@ -36,6 +36,7 @@ # ones. extensions = [ 'sphinx.ext.autodoc', + 'sphinx.ext.autosummary', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', # support for NumPy-style docstrings @@ -75,7 +76,7 @@ # General information about the project. authors = 'Matthias Geier' project = 'python-sounddevice' -copyright = '2019, ' + authors +copyright = '2020, ' + authors # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/doc/index.rst new/sounddevice-0.3.15/doc/index.rst --- old/sounddevice-0.3.14/doc/index.rst 2019-08-25 18:29:59.000000000 +0200 +++ new/sounddevice-0.3.15/doc/index.rst 2019-10-22 13:32:32.000000000 +0200 @@ -8,7 +8,7 @@ usage examples CONTRIBUTING - api + api/index version-history .. only:: html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/setup.py new/sounddevice-0.3.15/setup.py --- old/sounddevice-0.3.14/setup.py 2019-09-20 09:17:44.000000000 +0200 +++ new/sounddevice-0.3.15/setup.py 2020-03-18 09:54:19.000000000 +0100 @@ -11,9 +11,9 @@ PYTHON_INTERPRETERS = '.'.join([ 'cp26', 'cp27', - 'cp32', 'cp33', 'cp34', 'cp35', 'cp36', 'cp37', 'cp38', + 'cp32', 'cp33', 'cp34', 'cp35', 'cp36', 'cp37', 'cp38', 'cp39', 'pp27', - 'pp32', 'pp33', 'pp34', 'pp35', 'pp36', + 'pp32', 'pp33', 'pp34', 'pp35', 'pp36', 'pp37', ]) MACOSX_VERSIONS = '.'.join([ 'macosx_10_6_x86_64', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/sounddevice.egg-info/PKG-INFO new/sounddevice-0.3.15/sounddevice.egg-info/PKG-INFO --- old/sounddevice-0.3.14/sounddevice.egg-info/PKG-INFO 2019-09-25 11:45:40.000000000 +0200 +++ new/sounddevice-0.3.15/sounddevice.egg-info/PKG-INFO 2020-03-18 10:14:15.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: sounddevice -Version: 0.3.14 +Version: 0.3.15 Summary: Play and Record Sound with Python Home-page: http://python-sounddevice.readthedocs.io/ Author: Matthias Geier @@ -12,6 +12,8 @@ This Python_ module provides bindings for the PortAudio_ library and a few convenience functions to play and record NumPy_ arrays containing audio signals. + The ``sounddevice`` module is available for Linux, macOS and Windows. + Documentation: https://python-sounddevice.readthedocs.io/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/sounddevice.egg-info/SOURCES.txt new/sounddevice-0.3.15/sounddevice.egg-info/SOURCES.txt --- old/sounddevice-0.3.14/sounddevice.egg-info/SOURCES.txt 2019-09-25 11:45:40.000000000 +0200 +++ new/sounddevice-0.3.15/sounddevice.egg-info/SOURCES.txt 2020-03-18 10:14:15.000000000 +0100 @@ -8,7 +8,6 @@ sounddevice.py sounddevice_build.py doc/CONTRIBUTING.rst -doc/api.rst doc/conf.py doc/examples.rst doc/fake__sounddevice.py @@ -17,6 +16,14 @@ doc/requirements.txt doc/usage.rst doc/version-history.rst +doc/api/checking-hardware.rst +doc/api/convenience-functions.rst +doc/api/index.rst +doc/api/misc.rst +doc/api/module-defaults.rst +doc/api/platform-specific-settings.rst +doc/api/raw-streams.rst +doc/api/streams.rst examples/asyncio_coroutines.py examples/asyncio_generators.py examples/play_file.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/sounddevice.py new/sounddevice-0.3.15/sounddevice.py --- old/sounddevice-0.3.14/sounddevice.py 2019-09-25 11:33:13.000000000 +0200 +++ new/sounddevice-0.3.15/sounddevice.py 2020-03-18 10:10:01.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright (c) 2015-2019 Matthias Geier +# Copyright (c) 2015-2020 Matthias Geier # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -25,30 +25,30 @@ `play()`, `rec()`, `playrec()` and the related functions `wait()`, `stop()`, `get_status()`, `get_stream()` + * Functions to get information about the available hardware: + `query_devices()`, `query_hostapis()`, + `check_input_settings()`, `check_output_settings()` + * Module-wide default settings: `default` + * Platform-specific settings: + `AsioSettings`, `CoreAudioSettings`, `WasapiSettings` + * PortAudio streams, using NumPy arrays: `Stream`, `InputStream`, `OutputStream` * PortAudio streams, using Python buffer objects (NumPy not needed): `RawStream`, `RawInputStream`, `RawOutputStream` - * Functions to get information about the available hardware: - `query_devices()`, `query_hostapis()`, - `check_input_settings()`, `check_output_settings()` - * Miscellaneous functions and classes: `sleep()`, `get_portaudio_version()`, `CallbackFlags`, `CallbackStop`, `CallbackAbort` - * Platform-specific settings: - `AsioSettings`, `CoreAudioSettings`, `WasapiSettings` - Online documentation: https://python-sounddevice.readthedocs.io/ """ -__version__ = '0.3.14' +__version__ = '0.3.15' import atexit as _atexit import os as _os @@ -1122,7 +1122,7 @@ extra_settings=None, callback=None, finished_callback=None, clip_off=None, dither_off=None, never_drop_input=None, prime_output_buffers_using_stream_callback=None): - """Open a "raw" input stream. + """PortAudio input stream (using buffer objects). This is the same as `InputStream`, except that the *callback* function and :meth:`~RawStream.read` work on plain Python buffer @@ -1206,7 +1206,7 @@ extra_settings=None, callback=None, finished_callback=None, clip_off=None, dither_off=None, never_drop_input=None, prime_output_buffers_using_stream_callback=None): - """Open a "raw" output stream. + """PortAudio output stream (using buffer objects). This is the same as `OutputStream`, except that the *callback* function and :meth:`~RawStream.write` work on plain Python @@ -1301,7 +1301,7 @@ extra_settings=None, callback=None, finished_callback=None, clip_off=None, dither_off=None, never_drop_input=None, prime_output_buffers_using_stream_callback=None): - """Open a "raw" input/output stream. + """PortAudio input/output stream (using buffer objects). This is the same as `Stream`, except that the *callback* function and `read()`/`write()` work on plain Python buffer @@ -1353,7 +1353,7 @@ extra_settings=None, callback=None, finished_callback=None, clip_off=None, dither_off=None, never_drop_input=None, prime_output_buffers_using_stream_callback=None): - """Open an input stream. + """PortAudio input stream (using NumPy). This has the same methods and attributes as `Stream`, except :meth:`~Stream.write` and `write_available`. @@ -1426,7 +1426,7 @@ extra_settings=None, callback=None, finished_callback=None, clip_off=None, dither_off=None, never_drop_input=None, prime_output_buffers_using_stream_callback=None): - """Open an output stream. + """PortAudio output stream (using NumPy). This has the same methods and attributes as `Stream`, except :meth:`~Stream.read` and `read_available`. @@ -1508,7 +1508,7 @@ extra_settings=None, callback=None, finished_callback=None, clip_off=None, dither_off=None, never_drop_input=None, prime_output_buffers_using_stream_callback=None): - """Open a stream for simultaneous input and output. + """PortAudio stream for simultaneous input and output (using NumPy). To open an input-only or output-only stream use `InputStream` or `OutputStream`, respectively. If you want to handle audio data diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sounddevice-0.3.14/sounddevice_build.py new/sounddevice-0.3.15/sounddevice_build.py --- old/sounddevice-0.3.14/sounddevice_build.py 2019-09-20 09:17:44.000000000 +0200 +++ new/sounddevice-0.3.15/sounddevice_build.py 2020-03-18 10:09:02.000000000 +0100 @@ -313,8 +313,8 @@ /* from stdio.h */ FILE* fopen(const char* path, const char* mode); int fclose(FILE* fp); - FILE* stderr; /* GNU C library */ - FILE* __stderrp; /* macOS */ + extern FILE* stderr; /* GNU C library */ + extern FILE* __stderrp; /* macOS */ """) if __name__ == '__main__':