From c6222a7f07193bcb3dbc91c0051cc0ec98e8dfffa24150ceec6435c1568667d9 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 5 Feb 2020 15:14:40 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-sox.changes | 4 +++ python-sox.spec | 60 ++++++++++++++++++++++++++++++++++ sox-1.3.7-py2.py3-none-any.whl | 3 ++ 5 files changed, 91 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-sox.changes create mode 100644 python-sox.spec create mode 100644 sox-1.3.7-py2.py3-none-any.whl diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-sox.changes b/python-sox.changes new file mode 100644 index 0000000..5591be5 --- /dev/null +++ b/python-sox.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Jan 30 16:25:12 UTC 2020 - Todd R + +- initial version diff --git a/python-sox.spec b/python-sox.spec new file mode 100644 index 0000000..d5e423d --- /dev/null +++ b/python-sox.spec @@ -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 diff --git a/sox-1.3.7-py2.py3-none-any.whl b/sox-1.3.7-py2.py3-none-any.whl new file mode 100644 index 0000000..2e2d123 --- /dev/null +++ b/sox-1.3.7-py2.py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c4d4ef2d77e4ed4b3dcb86d8f67b0ff98d5ec59ec6576ff925881006574fd90 +size 34901