Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-PySoundCard
python-PySoundCard.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-PySoundCard.spec of Package python-PySoundCard
# # spec file for package python-PySoundCard # # Copyright (c) 2017 SUSE LINUX 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-PySoundCard Version: 0.5.2 Release: 0 Summary: An audio library based on PortAudio, CFFI and NumPy License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/bastibe/PySoundCard Source: https://files.pythonhosted.org/packages/source/P/PySoundCard/PySoundCard-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module cffi >= 0.6} BuildRequires: %{python_module numpy} BuildRequires: portaudio %endif Requires: portaudio Requires: python-cffi >= 0.6 Requires: python-numpy BuildArch: noarch %python_subpackages %description PySoundCard can play and record audio. Audio devices are supported through PortAudio, which is a free, cross-platform, open-source audio I/O library that runs on many operating systems including Windows, OS X and Linux. It is accessed through CFFI_, which is a foreign function interface for Python calling C code. CFFI is supported for CPython 2.6+, 3.x and PyPy 2.0+. PySoundCard represents audio data as NumPy arrays. %prep %setup -q -n PySoundCard-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with test} %check %python_exec setup.py test %endif %files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/* %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