forked from pool/python-pydub
Accepting request 605990 from devel:languages:python:misc
Manipulate audio with Python OBS-URL: https://build.opensuse.org/request/show/605990 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydub?expand=0&rev=1
This commit is contained in:
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
|
20
LICENSE
Normal file
20
LICENSE
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Copyright (c) 2011 James Robert, http://jiaaro.com
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
3
pydub-0.21.0.tar.gz
Normal file
3
pydub-0.21.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:27acc5977b0f5220682175d44fda737bbf818143b0832c0c3863b5dde38e197a
|
||||||
|
size 29946
|
43
python-pydub.changes
Normal file
43
python-pydub.changes
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 10 00:03:10 UTC 2018 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.21.0
|
||||||
|
* NOTE: Semi-counterintuitive change: using the a stride when
|
||||||
|
slicing AudioSegment instances (for example, `sound[::5000]`)
|
||||||
|
will return chunks of 5000ms (not 1ms chunks every 5000ms)
|
||||||
|
(#222)
|
||||||
|
* Debug output from ffmpeg/avlib is no longer printed to the
|
||||||
|
console unless you set up logging (see README for how to set
|
||||||
|
up logging for your converter) (#223)
|
||||||
|
* All pydub exceptions are now subclasses of
|
||||||
|
`pydub.exceptions.PydubException`
|
||||||
|
* The utilities in `pydub.silence` now accept a
|
||||||
|
`seek_step` argument which can optionally be passed to
|
||||||
|
improve the performance of silence detection (#211)
|
||||||
|
* Fix to `pydub.silence` utilities which allow you to detect
|
||||||
|
perfect silence (#233)
|
||||||
|
* Fix a bug where threaded code screws up your terminal session
|
||||||
|
due to ffmpeg inheriting the stdin from the parent process.
|
||||||
|
(#231)
|
||||||
|
* Fix a bug where a crashing programs using pydub would leave
|
||||||
|
behind their temporary files (#206)
|
||||||
|
- Use license tag
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 18 16:45:45 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version
|
||||||
|
- Update to version 0.20.0
|
||||||
|
* See changelog at https://github.com/jiaaro/pydub/blob/v0.20.0/CHANGELOG.md
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 1 18:05:47 UTC 2016 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 0.16.5
|
||||||
|
- upstream does not provide a changelog
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 14 11:35:14 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- - Initial version
|
||||||
|
|
70
python-pydub.spec
Normal file
70
python-pydub.spec
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pydub
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 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-%{**}}
|
||||||
|
# Test data missing
|
||||||
|
%bcond_with test
|
||||||
|
Name: python-pydub
|
||||||
|
Version: 0.21.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Manipulate audio with Python
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Url: https://github.com/jiaaro/pydub
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/pydub/pydub-%{version}.tar.gz
|
||||||
|
Source10: https://raw.githubusercontent.com/jiaaro/pydub/%{version}/LICENSE
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: ffmpeg
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module scipy}
|
||||||
|
%endif
|
||||||
|
Recommends: python-scipt
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Manipulate audio with a high level interface.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pydub-%{version}
|
||||||
|
cp %{SOURCE10} .
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
|
%check
|
||||||
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
|
$python test/test.py
|
||||||
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user