forked from pool/python-PyAudio
Accepting request 519225 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.2.11 * Fix use-after-free memory issue in callback handler. * Fix docstring for get_output_latency(). - Update to 0.2.10 * Release the GIL during PortAudio I/O calls to avoid potential deadlock. * Add a few automated unit tests. - Update to PyAudio 0.2.9 * Fix overflow error handling logic for pa_read_stream. * Fix IOError arguments. * Python library surfaces issues with importing low-level C module. * Code formatting update. * Updates to examples for Python 3 compatibility. - Implement single-spec version - Fix source URL OBS-URL: https://build.opensuse.org/request/show/519225 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyAudio?expand=0&rev=6
This commit is contained in:
3
PyAudio-0.2.11.tar.gz
Normal file
3
PyAudio-0.2.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74
|
||||||
|
size 37428
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4f85367cf79657616684487037957ac38582ecc5389b89420fe61d901b719551
|
|
||||||
size 235900
|
|
@@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 28 20:43:35 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.2.11
|
||||||
|
* Fix use-after-free memory issue in callback handler.
|
||||||
|
* Fix docstring for get_output_latency().
|
||||||
|
- Update to 0.2.10
|
||||||
|
* Release the GIL during PortAudio I/O calls to avoid potential deadlock.
|
||||||
|
* Add a few automated unit tests.
|
||||||
|
- Update to PyAudio 0.2.9
|
||||||
|
* Fix overflow error handling logic for pa_read_stream.
|
||||||
|
* Fix IOError arguments.
|
||||||
|
* Python library surfaces issues with importing low-level C module.
|
||||||
|
* Code formatting update.
|
||||||
|
* Updates to examples for Python 3 compatibility.
|
||||||
|
- Implement single-spec version
|
||||||
|
- Fix source URL
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 14 15:30:37 UTC 2014 - toddrme2178@gmail.com
|
Mon Jul 14 15:30:37 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyAudio
|
# spec file for package python-PyAudio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,54 +16,61 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_with test
|
||||||
Name: python-PyAudio
|
Name: python-PyAudio
|
||||||
Version: 0.2.8
|
Version: 0.2.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Bindings for PortAudio v19
|
Summary: Python Bindings for PortAudio v19
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: http://people.csail.mit.edu/hubert/pyaudio/
|
Url: http://people.csail.mit.edu/hubert/pyaudio/
|
||||||
Source0: http://people.csail.mit.edu/hubert/pyaudio/packages/pyaudio-%{version}.tar.gz
|
Source: http://files.pythonhosted.org/packages/source/P/PyAudio/PyAudio-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: portaudio-devel
|
BuildRequires: portaudio-devel
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
%if %{with test}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: alsa
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module numpy}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PyAudio provides Python bindings for PortAudio v19, the cross-platform audio I/O library.
|
PyAudio provides Python bindings for PortAudio v19, the cross-platform audio I/O library.
|
||||||
With PyAudio, you can easily use Python to play and record audio streams on a variety
|
With PyAudio, you can easily use Python to play and record audio streams on a variety
|
||||||
of platforms (e.g., GNU/Linux, Microsoft Windows, and Mac OS X).
|
of platforms (e.g., GNU/Linux, Microsoft Windows, and Mac OS X).
|
||||||
|
|
||||||
%package docs
|
|
||||||
Summary: Documentation for %{name}
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
|
|
||||||
%description docs
|
|
||||||
Documentation and help files for %{name}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n PyAudio-%{version}
|
%setup -q -n PyAudio-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%fdupes -s %{buildroot}/%{_prefix}
|
%if %{with test}
|
||||||
rm -r docs/.doctrees
|
%check
|
||||||
rm -r docs/.buildinfo
|
pushd tests
|
||||||
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||||
|
$python -B -m nose ./*.py
|
||||||
|
}
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGELOG README
|
%doc CHANGELOG README
|
||||||
%{python_sitearch}/_portaudio.so
|
%doc examples/
|
||||||
|
%{python_sitearch}/_portaudio*.so
|
||||||
%{python_sitearch}/pyaudio.py*
|
%{python_sitearch}/pyaudio.py*
|
||||||
|
%pycache_only %{python_sitearch}/__pycache__/pyaudio*.py*
|
||||||
%{python_sitearch}/PyAudio-%{version}-py*.egg-info
|
%{python_sitearch}/PyAudio-%{version}-py*.egg-info
|
||||||
|
|
||||||
%files docs
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc docs
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user