15
0

- update to 0.4.6:

* Redirect stderr with os.dup2() instead of CFFI calls

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sounddevice?expand=0&rev=23
This commit is contained in:
2023-12-29 09:44:47 +00:00
committed by Git OBS Bridge
parent 10f4a934d8
commit 026de3a801
4 changed files with 20 additions and 12 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 29 09:41:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.4.6:
* Redirect stderr with os.dup2() instead of CFFI calls
-------------------------------------------------------------------
Fri Oct 7 16:18:39 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fe0d41299e4f3037dad2acede4eff0666b34a1fa3da5335e47120373964bef5
size 51403

3
sounddevice-0.4.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3236b78f15f0415bdf006a620cef073d0c0522851d66f4a961ed6d8eb1482fe9
size 51300