From 4e9a995cac4eedd5e00774cedc04351f93f3f5617ea705f49c8bf768ae460b4f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 23 Nov 2024 08:31:23 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + pulsectl-24.11.0.tar.gz | 3 ++ pulsectl-24.4.0.tar.gz | 3 ++ pulsectl-24.8.0.tar.gz | 3 ++ python-pulsectl.changes | 90 +++++++++++++++++++++++++++++++++++++++++ python-pulsectl.spec | 72 +++++++++++++++++++++++++++++++++ 7 files changed, 195 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pulsectl-24.11.0.tar.gz create mode 100644 pulsectl-24.4.0.tar.gz create mode 100644 pulsectl-24.8.0.tar.gz create mode 100644 python-pulsectl.changes create mode 100644 python-pulsectl.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pulsectl-24.11.0.tar.gz b/pulsectl-24.11.0.tar.gz new file mode 100644 index 0000000..9f606d4 --- /dev/null +++ b/pulsectl-24.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ba32745d3f198d5657af19f7ee3eb007af5a86a306ec3cd45af42e767820d0d +size 41166 diff --git a/pulsectl-24.4.0.tar.gz b/pulsectl-24.4.0.tar.gz new file mode 100644 index 0000000..b07c709 --- /dev/null +++ b/pulsectl-24.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:697ed50e7d452e78678ae38e2ab935843008bec448955283cd0fb362867e3165 +size 41166 diff --git a/pulsectl-24.8.0.tar.gz b/pulsectl-24.8.0.tar.gz new file mode 100644 index 0000000..b437b9e --- /dev/null +++ b/pulsectl-24.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b051506d0d73d3cc4357cefd3de17bb859d7ecf004e994b0f7cfa87851bc7156 +size 41171 diff --git a/python-pulsectl.changes b/python-pulsectl.changes new file mode 100644 index 0000000..c5b458c --- /dev/null +++ b/python-pulsectl.changes @@ -0,0 +1,90 @@ +------------------------------------------------------------------- +Sat Nov 23 08:30:41 UTC 2024 - Dirk Müller + +- 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 + +- update to 24.8.0: + * docstring fix + +------------------------------------------------------------------- +Sun Apr 21 08:57:07 UTC 2024 - Dirk Müller + +- 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 + +- update to 23.5.2: + * README and metadata updates + +------------------------------------------------------------------- +Fri Feb 24 10:56:06 UTC 2023 - Daniel Garcia + +- 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á + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 diff --git a/python-pulsectl.spec b/python-pulsectl.spec new file mode 100644 index 0000000..d48d23f --- /dev/null +++ b/python-pulsectl.spec @@ -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