14
0
forked from pool/python-sox

Accepting request 770324 from home:TheBlackCat:branches:devel:languages:python:numeric

Audio processing toolkit for python.

Required by the latest version of python-audiomate, which is already in openSUSE:Factory.

OBS-URL: https://build.opensuse.org/request/show/770324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sox?expand=0&rev=1
This commit is contained in:
Todd R
2020-02-05 15:14:40 +00:00
committed by Git OBS Bridge
commit c6222a7f07
5 changed files with 91 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

4
python-sox.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Jan 30 16:25:12 UTC 2020 - Todd R <toddrme2178@gmail.com>
- initial version

60
python-sox.spec Normal file
View File

@@ -0,0 +1,60 @@
#
# spec file for package python-sox
#
# Copyright (c) 2020 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-%{**}}
Name: python-sox
Version: 1.3.7
Release: 0
License: BSD-3-Clause
Summary: Python wrapper around SoX
Url: https://github.com/rabitt/pysox
Group: Development/Languages/Python
Source0: https://files.pythonhosted.org/packages/py2.py3/s/sox/sox-%{version}-py2.py3-none-any.whl
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: fdupes
Requires: sox
BuildArch: noarch
%python_subpackages
%description
SOX is intended to be the Swiss Army knife of sound processing tools.
It does many things, it just does not do them all well. Sooner or later
it will come in very handy. SOX is really only usable day-to-day if you
hide the wacky options with one-line shell scripts.
This is a Python wrapper for SOX.
%prep
%setup -q -c -T
%build
# not needed
%install
cp -a %{SOURCE0} .
%pyproject_install
%python_expand sed -i -e '/^#!\//, 1d' %{buildroot}%{$python_sitelib}/sox/*.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license %{python_sitelib}/sox-%{version}.dist-info/LICENSE
%{python_sitelib}/sox-%{version}.dist-info/
%{python_sitelib}/sox
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c4d4ef2d77e4ed4b3dcb86d8f67b0ff98d5ec59ec6576ff925881006574fd90
size 34901