Hello community, here is the log from the commit of package python-SoundCard for openSUSE:Factory checked in at 2019-04-02 09:21:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-SoundCard (Old) and /work/SRC/openSUSE:Factory/.python-SoundCard.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-SoundCard" Tue Apr 2 09:21:23 2019 rev:4 rq:689375 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-SoundCard/python-SoundCard.changes 2019-01-08 12:30:24.688145698 +0100 +++ /work/SRC/openSUSE:Factory/.python-SoundCard.new.25356/python-SoundCard.changes 2019-04-02 09:21:36.944672817 +0200 @@ -1,0 +2,8 @@ +Thu Mar 28 14:09:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Switch to source release +- Update to 0.3.0: + * Various docu updates + * Support python 3.5 + +------------------------------------------------------------------- Old: ---- SoundCard-0.2.2-py3-none-any.whl New: ---- LICENSE SoundCard-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-SoundCard.spec ++++++ --- /var/tmp/diff_new_pack.YRWGVR/_old 2019-04-02 09:21:38.380674162 +0200 +++ /var/tmp/diff_new_pack.YRWGVR/_new 2019-04-02 09:21:38.380674162 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-SoundCard # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -19,25 +19,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-SoundCard -Version: 0.2.2 +Version: 0.3.0 Release: 0 Summary: Python package to play and record audio License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/bastibe/SoundCard -Source0: https://files.pythonhosted.org/packages/py3/S/SoundCard/SoundCard-%{version}-py3-none-any.whl +URL: https://github.com/bastibe/SoundCard +Source0: https://files.pythonhosted.org/packages/source/S/SoundCard/SoundCard-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/bastibe/SoundCard/master/LICENSE Source100: python-SoundCard-rpmlintrc BuildRequires: %{python_module cffi} BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pip} -BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: pulseaudio Requires: python-cffi Requires: python-numpy BuildArch: noarch - %python_subpackages %description @@ -51,18 +50,19 @@ devices and platforms. %prep -%setup -T -c +%setup -q -n SoundCard-%{version} +cp %{SOURCE1} . %build -# Not Needed +%python_build %install -%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0} +%python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%license %{python_sitelib}/SoundCard-%{version}.dist-info/LICENSE -%{python_sitelib}/SoundCard-%{version}.dist-info -%{python_sitelib}/soundcard/ +%license LICENSE +%doc README.rst +%{python_sitelib}/* %changelog ++++++ LICENSE ++++++ Copyright (c) 2016 Bastian Bechtold All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.