- update to 24.11.0:

* pulsectl: check return from pa_context_new to be not NULL

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pulsectl?expand=0&rev=24
This commit is contained in:
Dirk Mueller 2024-11-23 08:31:23 +00:00 committed by Git OBS Bridge
commit 4e9a995cac
7 changed files with 195 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
pulsectl-24.11.0.tar.gz Normal file
View File

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

3
pulsectl-24.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:697ed50e7d452e78678ae38e2ab935843008bec448955283cd0fb362867e3165
size 41166

3
pulsectl-24.8.0.tar.gz Normal file
View File

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

90
python-pulsectl.changes Normal file
View File

@ -0,0 +1,90 @@
-------------------------------------------------------------------
Sat Nov 23 08:30:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.11.0:
* pulsectl: check return from pa_context_new to be not NULL
-------------------------------------------------------------------
Sat Aug 31 11:42:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.8.0:
* docstring fix
-------------------------------------------------------------------
Sun Apr 21 08:57:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.4.0:
* Add more obvious sink_default_get/source_default_get wrappers
around server_info #81
-------------------------------------------------------------------
Sat Dec 9 10:01:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 23.5.2:
* README and metadata updates
-------------------------------------------------------------------
Fri Feb 24 10:56:06 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- update to 22.3.2
* 21.10.4: Add channel_list_enum to compare channel_list values with
something in a typo-free way, expose channel_list_raw with C enum
values [#66].
* 21.5.0: Fix PA_VOLUME_MAX and PA_VOLUME_UI_MAX values, both were
incorrect [#53].
-------------------------------------------------------------------
Fri Apr 16 13:32:15 UTC 2021 - Markéta Machová <mmachova@suse.com>
- update to 21.3.4
* Add timeout= option for connect() method [#48].
* Expose "base_volume" (alsa volume level) attribute for sinks/sources [#47].
-------------------------------------------------------------------
Thu Feb 25 11:33:35 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Require the pulseaudio-daemon capability instead of the
pulseaudio package, so alternative implementations can be used
(boo#1182730).
-------------------------------------------------------------------
Thu Mar 19 09:49:49 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 20.2.4
* Add pulse.get_card_by_name() wrapper [#38].
* Expose "corked" bool attr in PulseSinkInputInfo and PulseSourceOutputInfo [#37].
-------------------------------------------------------------------
Mon Jan 20 13:59:09 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 20.1.2
* add pulse.play_sample() - server-side stored sample playback
* Add pulse.get_peak_sample() func for getting volume peak within timespan
-------------------------------------------------------------------
Wed Jun 5 08:09:07 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 18.12.5
* pulse.connect() can now be used to reconnect to same server
* _pulse_op_cb: check connected state instead of _loop_stop
* _pulse_op_cb: fix hang if daemon dies
* tests: use "-F /dev/stdin" instead of -C for dummy pulse instance
* Add pulsectl.lookup util submodule
-------------------------------------------------------------------
Tue Dec 4 12:51:49 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Jan 5 09:16:09 UTC 2018 - alarrosa@suse.com
- Update to version 17.12.2
* Use pa_card_profile_info2 / profiles2 introspection API.
* Only adds one "available" property to PulseCardProfileInfo.
Requires pulseaudio/libpulse 5.0+.
-------------------------------------------------------------------
Fri Nov 10 15:47:08 UTC 2017 - alarrosa@suse.com
- Initial release of python-pulsectl 17.9.3

72
python-pulsectl.spec Normal file
View File

@ -0,0 +1,72 @@
#
# spec file for package python-pulsectl
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without test
Name: python-pulsectl
Version: 24.11.0
Release: 0
Summary: Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)
License: MIT
Group: Development/Languages/Python
URL: https://github.com/mk-fg/python-pulse-control
Source: https://files.pythonhosted.org/packages/source/p/pulsectl/pulsectl-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
BuildArch: noarch
%if 0%{?sle_version} && 0%{?sle_version} < 150300
Requires: pulseaudio
%else
Requires: pulseaudio-daemon
%endif
%if %{with test}
BuildRequires: libpulse-devel
BuildRequires: pulseaudio
BuildRequires: pulseaudio-utils
%endif
%python_subpackages
%description
Python (3.x and 2.x) high-level interface and ctypes-based bindings for
PulseAudio (libpulse), mostly focused on mixer-like controls and
introspection-related operations (as opposed to e.g. submitting sound samples to
play, player-like client).
%prep
%setup -q -n pulsectl-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%pyunittest discover
%endif
%files %{python_files}
%license COPYING
%doc CHANGES.rst README.rst
%{python_sitelib}/pulsectl
%{python_sitelib}/pulsectl-%{version}*-info
%changelog