Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37893756
en ru br
ALT Linux repos
S:1.3.0-alt1

Group :: Development/Python3
RPM: python3-module-pyacoustid

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define pypi_name pyacoustid

%def_disable check

Name: python3-module-%pypi_name
Version: 1.3.0
Release: alt1

Summary: Python3 bindings for Chromaprint acoustic fingerprinting and the Acoustid API
Group: Development/Python3
License: MIT
Url: https://pypi.python.org/pypi/%pypi_name
Vcs: https://github.com/dwolfhub/zxcvbn-python.git

Source: https://pypi.io/packages/source/p/%pypi_name/%pypi_name-%version.tar.gz

BuildArch: noarch
Requires: /usr/bin/fpcalc
# or
#Requires: libchromaprint.so.1 python3(audioread)

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-wheel python3-module-setuptools

%{?_enable_check:BuildRequires: python3(pytest)
BuildRequires: python3(audioread) python3(requests)}

%description
%summary

%prep
%setup -n %pypi_name-%version

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot/%python3_sitelibdir
py.test3

%files
%python3_sitelibdir/acoustid.py
%python3_sitelibdir/chromaprint.py
%python3_sitelibdir/__pycache__/*
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%doc README*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin