From fa9304c7ff99962b0ffcb800f029d0094bd2495015ed4d4014924d02c7b73981 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 23 Apr 2025 20:22:53 +0000 Subject: [PATCH] Accepting request 1272159 from home:glaubitz:branches:devel:languages:python - Update to 0.4.4 * Improves response to Pulseaudio runtime failures * Fixes multi-byte sound card names on macOS * Improves response to Windows buffer underruns * Improves behavior when playing nothing on Windows * Implements named channel map elements on Linux * Fixes empty soundcard list on macOS - Adjust upstream source name in spec file - Allow lower- and uppercase filenames for meta directory - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions OBS-URL: https://build.opensuse.org/request/show/1272159 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SoundCard?expand=0&rev=23 --- SoundCard-0.4.3.tar.gz | 3 --- python-SoundCard.changes | 20 ++++++++++++++++++++ python-SoundCard.spec | 23 +++++++++++------------ soundcard-0.4.4.tar.gz | 3 +++ 4 files changed, 34 insertions(+), 15 deletions(-) delete mode 100644 SoundCard-0.4.3.tar.gz create mode 100644 soundcard-0.4.4.tar.gz diff --git a/SoundCard-0.4.3.tar.gz b/SoundCard-0.4.3.tar.gz deleted file mode 100644 index c1f9727..0000000 --- a/SoundCard-0.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:410835514ba10809803cb9887d4270f392b59eaf365915bb94516af3f8b1d037 -size 40609 diff --git a/python-SoundCard.changes b/python-SoundCard.changes index 7678e14..3d3e6dc 100644 --- a/python-SoundCard.changes +++ b/python-SoundCard.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Apr 23 11:17:28 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.4.4 + * Improves response to Pulseaudio runtime failures + * Fixes multi-byte sound card names on macOS + * Improves response to Windows buffer underruns + * Improves behavior when playing nothing on Windows + * Implements named channel map elements on Linux + * Fixes empty soundcard list on macOS +- Adjust upstream source name in spec file +- Allow lower- and uppercase filenames for meta directory +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions + ------------------------------------------------------------------- Mon Jun 10 08:57:14 UTC 2024 - Dirk Müller diff --git a/python-SoundCard.spec b/python-SoundCard.spec index ea0ef2a..c7f83ef 100644 --- a/python-SoundCard.spec +++ b/python-SoundCard.spec @@ -1,7 +1,7 @@ # # spec file for package python-SoundCard # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%if 0%{suse_version} >= 1550 -%define skip_python36 1 -%endif +%{?sle15_python_module_pythons} Name: python-SoundCard -Version: 0.4.3 +Version: 0.4.4 Release: 0 Summary: Python package to play and record audio License: BSD-3-Clause URL: https://github.com/bastibe/SoundCard -Source0: https://files.pythonhosted.org/packages/source/S/SoundCard/SoundCard-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/soundcard/soundcard-%{version}.tar.gz Source1: https://raw.githubusercontent.com/bastibe/SoundCard/master/LICENSE Source100: python-SoundCard-rpmlintrc BuildRequires: %{python_module cffi} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %if 0%{?sle_version} && 0%{?sle_version} < 150300 @@ -56,19 +54,20 @@ across platforms, naming schemes and block sizes can vary between devices and platforms. %prep -%setup -q -n SoundCard-%{version} +%setup -q -n soundcard-%{version} cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/soundcard +%{python_sitelib}/[Ss]ound[Cc]ard-%{version}.dist-info %changelog diff --git a/soundcard-0.4.4.tar.gz b/soundcard-0.4.4.tar.gz new file mode 100644 index 0000000..a593def --- /dev/null +++ b/soundcard-0.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87df9c4b8ec97585fe440a1d9dbafabcece58eae5857ed005e6bb385b2179cff +size 40786