Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Update
python-PyAudio
python-PyAudio.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-PyAudio.spec of Package python-PyAudio
# # spec file for package python-PyAudio # # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with test Name: python-PyAudio Version: 0.2.11 Release: 0 Summary: Python Bindings for PortAudio v19 License: MIT Group: Development/Libraries/Python Url: http://people.csail.mit.edu/hubert/pyaudio/ Source: https://files.pythonhosted.org/packages/source/P/PyAudio/PyAudio-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: portaudio-devel BuildRequires: python-rpm-macros %if %{with test} BuildRequires: alsa BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy} %endif %python_subpackages %description 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 of platforms (e.g., GNU/Linux, Microsoft Windows, and Mac OS X). %prep %setup -q -n PyAudio-%{version} %build export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %if %{with test} %check pushd tests %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} $python -B -m nose ./*.py } popd %endif %files %{python_files} %defattr(-,root,root) %doc CHANGELOG README %doc examples/ %{python_sitearch}/_portaudio*.so %{python_sitearch}/pyaudio.py* %pycache_only %{python_sitearch}/__pycache__/pyaudio*.py* %{python_sitearch}/PyAudio-%{version}-py*.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor