Accepting request 454958 from home:alarrosa:branches:devel:languages:python
New package python-audioread OBS-URL: https://build.opensuse.org/request/show/454958 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audioread?expand=0&rev=1
This commit is contained in:
commit
378eb80332
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
audioread-2.1.4.tar.gz
Normal file
3
audioread-2.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8ffee2d2787258c214841853f600c52943baea9ad2303cb3d4b625cde4f08fff
|
||||||
|
size 15013
|
56
python-audioread.changes
Normal file
56
python-audioread.changes
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 18 12:16:46 UTC 2017 - alarrosa@suse.com
|
||||||
|
|
||||||
|
- Initial package release
|
||||||
|
|
||||||
|
2.1.4
|
||||||
|
Fix a bug in the FFmpeg backend where, after closing a file, the program's
|
||||||
|
standard input stream would be "broken" and wouldn't receive any input.
|
||||||
|
|
||||||
|
2.1.3
|
||||||
|
Avoid some warnings in the GStreamer backend when using modern versions of
|
||||||
|
GLib. We now require at least GLib 2.32.
|
||||||
|
|
||||||
|
2.1.2
|
||||||
|
Fix a file descriptor leak when opening and closing many files using
|
||||||
|
GStreamer.
|
||||||
|
|
||||||
|
2.1.1
|
||||||
|
Just fix ReST formatting in the README.
|
||||||
|
|
||||||
|
2.1.0
|
||||||
|
The FFmpeg backend can now also use Libav's ``avconv`` command.
|
||||||
|
Fix a warning by requiring GStreamer >= 1.0.
|
||||||
|
Fix some Python 3 crashes with the new GStreamer backend (thanks to
|
||||||
|
@xix-xeaon).
|
||||||
|
|
||||||
|
2.0.0
|
||||||
|
The GStreamer backend now uses GStreamer 1.x via the new
|
||||||
|
gobject-introspection API (and is compatible with Python 3).
|
||||||
|
|
||||||
|
1.2.2
|
||||||
|
When running FFmpeg on Windows, disable its crash dialog. Thanks to
|
||||||
|
jcsaaddupuy.
|
||||||
|
|
||||||
|
1.2.1
|
||||||
|
Fix an unhandled exception when opening non-raw audio files (thanks to
|
||||||
|
aostanin).
|
||||||
|
Fix Python 3 compatibility for the raw-file backend.
|
||||||
|
|
||||||
|
1.2.0
|
||||||
|
Add support for FFmpeg on Windows (thanks to Jean-Christophe Saad-Dupuy).
|
||||||
|
|
||||||
|
1.1.0
|
||||||
|
Add support for Sun/NeXT `Au files`_ via the standard-library ``sunau``
|
||||||
|
module (thanks to Dan Ellis).
|
||||||
|
|
||||||
|
1.0.3
|
||||||
|
Use the rawread (standard-library) backend for .wav files.
|
||||||
|
|
||||||
|
1.0.2
|
||||||
|
Send SIGKILL, not SIGTERM, to ffmpeg processes to avoid occasional hangs.
|
||||||
|
|
||||||
|
1.0.1
|
||||||
|
When GStreamer fails to report a duration, raise an exception instead of
|
||||||
|
silently setting the duration field to None.
|
||||||
|
|
61
python-audioread.spec
Normal file
61
python-audioread.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-audioread
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-audioread
|
||||||
|
Version: 2.1.4
|
||||||
|
Release: 0
|
||||||
|
License: MIT
|
||||||
|
Summary: multi-library, cross-platform audio decoding
|
||||||
|
Url: https://github.com/sampsyo/audioread
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/a/audioread/audioread-%{version}.tar.gz
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%else
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Decode audio files using whichever backend is available. The library
|
||||||
|
currently supports:
|
||||||
|
|
||||||
|
- Gstreamer via PyGObject.
|
||||||
|
- MAD via the pymad bindings.
|
||||||
|
- FFmpeg or Libav via its command-line interface.
|
||||||
|
- The standard library wave, aifc, and sunau modules (for
|
||||||
|
uncompressed audio formats).
|
||||||
|
|
||||||
|
audioread is by Adrian Sampson. It is made available under the MIT
|
||||||
|
license. An alternative to this module is decoder.py.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n audioread-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.rst
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user