diff --git a/python-sounddevice.changes b/python-sounddevice.changes index 75752ec..616428e 100644 --- a/python-sounddevice.changes +++ b/python-sounddevice.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 29 09:41:04 UTC 2023 - Dirk Müller + +- update to 0.4.6: + * Redirect stderr with os.dup2() instead of CFFI calls + ------------------------------------------------------------------- Fri Oct 7 16:18:39 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-sounddevice.spec b/python-sounddevice.spec index 2a64338..566b149 100644 --- a/python-sounddevice.spec +++ b/python-sounddevice.spec @@ -1,7 +1,7 @@ # # spec file for package python-sounddevice # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-sounddevice -Version: 0.4.5 +Version: 0.4.6 Release: 0 Summary: Module to play and record sound with Python License: MIT @@ -28,7 +26,8 @@ URL: https://python-sounddevice.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/s/sounddevice/sounddevice-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.0} BuildRequires: %{python_module numpy} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: portaudio BuildRequires: python-rpm-macros @@ -47,16 +46,19 @@ convenience functions to play and record NumPy arrays containing audio signals. %build chmod 644 examples/* -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc NEWS.rst README.rst examples %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/{_sounddevice.py,sounddevice.py} +%pycache_only %{python_sitelib}/__pycache__/{sounddevice,_sounddevice}* + +%{python_sitelib}/sounddevice-%{version}.dist-info %check # no upstream tests, examples needs devices diff --git a/sounddevice-0.4.5.tar.gz b/sounddevice-0.4.5.tar.gz deleted file mode 100644 index a0a93d8..0000000 --- a/sounddevice-0.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2fe0d41299e4f3037dad2acede4eff0666b34a1fa3da5335e47120373964bef5 -size 51403 diff --git a/sounddevice-0.4.6.tar.gz b/sounddevice-0.4.6.tar.gz new file mode 100644 index 0000000..64291e7 --- /dev/null +++ b/sounddevice-0.4.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3236b78f15f0415bdf006a620cef073d0c0522851d66f4a961ed6d8eb1482fe9 +size 51300