From 484e20b9932f79f2f41f6e5d11c06655af070559a086a1d01b46e9582d395f3a Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 4 May 2022 06:14:21 +0000 Subject: [PATCH] - Update to 0.9.1: * Support decibel, percentage, and raw volumes in getvolume, setvolume, and getrange (#109 from @chrisdiamand): - Use pytest for running the testsuite, and skip tests that require a sound card. Remove the bcond so the testsuite runs. - Update docs shipped to be more documentation-like. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyalsaaudio?expand=0&rev=11 --- pyalsaaudio-0.9.0.tar.gz | 3 --- pyalsaaudio-0.9.1.tar.gz | 3 +++ python-pyalsaaudio.changes | 10 ++++++++++ python-pyalsaaudio.spec | 11 ++++------- 4 files changed, 17 insertions(+), 10 deletions(-) delete mode 100644 pyalsaaudio-0.9.0.tar.gz create mode 100644 pyalsaaudio-0.9.1.tar.gz diff --git a/pyalsaaudio-0.9.0.tar.gz b/pyalsaaudio-0.9.0.tar.gz deleted file mode 100644 index bfa8885..0000000 --- a/pyalsaaudio-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ca069c736c8ad2a3047b5033468d983a2480f94fad4feb0169c056060e01e69 -size 370435 diff --git a/pyalsaaudio-0.9.1.tar.gz b/pyalsaaudio-0.9.1.tar.gz new file mode 100644 index 0000000..52b9ffd --- /dev/null +++ b/pyalsaaudio-0.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c7ea29d00d1b1c2314f6c8ec6c785d03530efb738a011d334ee666f1f55be5f +size 599417 diff --git a/python-pyalsaaudio.changes b/python-pyalsaaudio.changes index 43686b1..bd6f499 100644 --- a/python-pyalsaaudio.changes +++ b/python-pyalsaaudio.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed May 4 06:12:13 UTC 2022 - Steve Kowalik + +- Update to 0.9.1: + * Support decibel, percentage, and raw volumes in getvolume, setvolume, + and getrange (#109 from @chrisdiamand): +- Use pytest for running the testsuite, and skip tests that require a + sound card. Remove the bcond so the testsuite runs. +- Update docs shipped to be more documentation-like. + ------------------------------------------------------------------- Sat Mar 26 18:44:58 UTC 2022 - Dirk Müller diff --git a/python-pyalsaaudio.spec b/python-pyalsaaudio.spec index 0367d02..d6e1b08 100644 --- a/python-pyalsaaudio.spec +++ b/python-pyalsaaudio.spec @@ -17,16 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-pyalsaaudio -Version: 0.9.0 +Version: 0.9.1 Release: 0 Summary: ALSA bindings for Python License: Python-2.0 -Group: Development/Languages/Python URL: https://larsimmisch.github.io/pyalsaaudio/ Source: https://files.pythonhosted.org/packages/source/p/pyalsaaudio/pyalsaaudio-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: alsa-devel BuildRequires: fdupes @@ -48,14 +47,12 @@ export CFLAGS="%{optflags}" %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} -%if %{with test} %check -%python_exec setup.py test -%endif +%pytest_arch test.py -k 'not (testMixerAll or testMixerClose or testPCMAll or testPCMClose or testPCMDeprecated)' %files %{python_files} %license LICENSE -%doc CHANGES +%doc doc/*.rst %{python_sitearch}/* %changelog