14
0
Files
python-pyacoustid/python-pyacoustid.spec
Daniel Garcia eea0c7979d Accepting request 1008050 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.2.2
  Fix a regression in the previous version that caused a KeyError crash when calling submit.
- Update to version 1.2.1
  The meta parameter to some API functions can now be a list (instead of just a single string).
- Update to version 1.2.0
  Add a force_fpcalc option to fingerprint_file and match. Avoid leaving a dangling socket after communicating with the server.
  Fix a crash when passing a memoryview object to the fingerprinter. API requests can now optionally time out. More reliably find the library
   on Windows on Python 3.8. Add a hash_fingerprint function to the low-level library.

OBS-URL: https://build.opensuse.org/request/show/1008050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyacoustid?expand=0&rev=11
2022-10-05 10:22:41 +00:00

62 lines
2.0 KiB
RPMSpec

#
# spec file for package python-pyacoustid
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyacoustid
Version: 1.2.2
Release: 0
Summary: Bindings for Chromaprint acoustic fingerprinting and the Acoustid API
License: MIT
Group: Development/Languages/Python
URL: https://github.com/sampsyo/pyacoustid
Source: https://files.pythonhosted.org/packages/source/p/pyacoustid/pyacoustid-%{version}.tar.gz
BuildRequires: %{python_module audioread}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-audioread
Requires: python-requests
BuildArch: noarch
%python_subpackages
%description
Chromaprint and Acoustid for Python
Chromaprint and its associated Acoustid Web service make up a
high-quality, open-source acoustic fingerprinting system. This package provides
Python bindings for both the fingerprinting algorithm library, which is written
in C but portable, and the Web service, which provides fingerprint lookups.
%prep
%setup -q -n pyacoustid-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog