17
0

Compare commits

2 Commits

Author SHA256 Message Date
f67b0c60bb Accepting request 1272262 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1272262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SoundCard?expand=0&rev=11
2025-04-24 15:25:46 +00:00
fa9304c7ff 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
2025-04-23 20:22:53 +00:00
4 changed files with 34 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:410835514ba10809803cb9887d4270f392b59eaf365915bb94516af3f8b1d037
size 40609

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Apr 23 11:17:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com>

View File

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

3
soundcard-0.4.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87df9c4b8ec97585fe440a1d9dbafabcece58eae5857ed005e6bb385b2179cff
size 40786