Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-SoundFile for openSUSE:Factory checked in at 2023-04-03 17:46:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-SoundFile (Old) and /work/SRC/openSUSE:Factory/.python-SoundFile.new.9019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-SoundFile" Mon Apr 3 17:46:41 2023 rev:9 rq:1076896 version:0.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-SoundFile/python-SoundFile.changes 2021-02-20 22:12:22.355044322 +0100 +++ /work/SRC/openSUSE:Factory/.python-SoundFile.new.9019/python-SoundFile.changes 2023-04-03 17:46:49.515303796 +0200 @@ -1,0 +2,21 @@ +Sat Apr 1 11:53:26 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.12.1 + * Fixes a bug in the library discover on Linux, if no system + library and no packaged library could be found. +- Release 0.12.0 + * Updated libsndfile to v1.2.0 + * Improves precompiled library location, especially with py2app + or cx-freeze. + * Now provide binary wheels for Linux x86_64 + * Now prefers packaged libsndfile over system-installed + libsndfile +- Release 0.11.0 + * MP3 support + * Updates libsndfile to v1.1.0 + * Adds get_strings method for retrieving all metadata at once + * Improves documentation, error messages and tests + * Displays length of very short files in samples + * Supports the file system path protocol (pathlib et al) + +------------------------------------------------------------------- Old: ---- SoundFile-0.10.3.post1.tar.gz New: ---- python-SoundFile.rpmlintrc soundfile-0.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-SoundFile.spec ++++++ --- /var/tmp/diff_new_pack.KAPUb6/_old 2023-04-03 17:46:50.146545576 +0200 +++ /var/tmp/diff_new_pack.KAPUb6/_new 2023-04-03 17:46:50.154586872 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-SoundFile # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,31 +16,30 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python Name: python-SoundFile -Version: 0.10.3.post1 +Version: 0.12.1 Release: 0 Summary: An audio library based on libsndfile, CFFI and NumPy License: BSD-3-Clause URL: https://github.com/bastibe/python-soundfile -Source: https://files.pythonhosted.org/packages/source/S/SoundFile/SoundFile-%{version}.tar.gz -BuildRequires: %{python_module cffi >= 0.6} +Source: https://files.pythonhosted.org/packages/source/s/soundfile/soundfile-%{version}.tar.gz +Source99: python-SoundFile.rpmlintrc +BuildRequires: %{python_module cffi >= 1.0} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes -BuildRequires: libsndfile1 +BuildRequires: libsndfile-devel BuildRequires: python-rpm-macros -BuildRequires: %{python_module numpy if (%python-base without python36-base)} -Requires: libsndfile1 -Requires: python-cffi >= 0.6 +BuildArch: noarch +Requires: python-cffi >= 1.0 +Requires: %(rpm -q --requires libsndfile-devel | grep -o 'libsndfile[0-9]*') Recommends: python-numpy Obsoletes: python-PySoundFile < %{version} Provides: python-PySoundFile = %{version} -%ifpython2 -Obsoletes: %{oldpython}-PySoundFile < %{version} -Provides: %{oldpython}-PySoundFile = %{version} -%endif +Provides: python-soundfile = %{version} %python_subpackages %description @@ -53,23 +52,28 @@ represents audio data as NumPy arrays. %prep -%setup -q -n SoundFile-%{version} +%setup -q -n soundfile-%{version} %build -%python_build +# force a pure wheel through unknown platform +# (we do not bundle the libs anyway) +export PYSOUNDFILE_PLATFORM="OBS" +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# don't test if we don't have optional numpy installed -python36_ignore="--ignore tests/test_pysoundfile.py" -%pytest -k 'not read_int_data_from_float_file' ${$python_ignore} +%pytest %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/soundfile-%{version}.dist-info +%{python_sitelib}/soundfile.py +%{python_sitelib}/_soundfile.py +%pycache_only %{python_sitelib}/__pycache__/soundfile*.pyc +%pycache_only %{python_sitelib}/__pycache__/_soundfile*.pyc %changelog ++++++ python-SoundFile.rpmlintrc ++++++ # pure python script uses dlopen() addFilter("explicit-lib-dependency libsndfile[0-9]+") (No newline at EOF)