forked from pool/python-pyalsaaudio
- 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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ca069c736c8ad2a3047b5033468d983a2480f94fad4feb0169c056060e01e69
|
||||
size 370435
|
3
pyalsaaudio-0.9.1.tar.gz
Normal file
3
pyalsaaudio-0.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c7ea29d00d1b1c2314f6c8ec6c785d03530efb738a011d334ee666f1f55be5f
|
||||
size 599417
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 4 06:12:13 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user