Пакет python3-module-fuzzywuzzy: Specfile

%define oname fuzzywuzzy

%def_with check

Name: python3-module-%oname
Version: 0.18.0
Release: alt1

Summary: Fuzzy string matching in Python
License: GPL-2.0
Group: Development/Python3
URL: https://pypi.org/project/fuzzywuzzy/
VCS: https://github.com/seatgeek/fuzzywuzzy

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-hypothesis
BuildRequires: python3-module-pycodestyle
BuildRequires: python3-module-Levenshtein
%endif

%description
Fuzzy string matching like a boss. It uses Levenshtein Distance to calculate
the differences between sequences in a simple-to-use package.

%prep
%setup

%build
%python3_build

%install
%python3_install

%check
%tox_create_default_config
%tox_check -- -k 'not test_process_warning'

%files
%doc LICENSE.txt *.rst
%python3_sitelibdir/%oname/
%python3_sitelibdir/%oname-%version-*.egg-info


%changelog
* Wed Mar 29 2023 Anton Vyatkin <toni@altlinux.org> 0.18.0-alt1
- New version 0.18.0.

* Mon Jan 20 2020 Andrey Bychkov <mrdrew@altlinux.org> 0.17.0-alt1
- Version updated to 0.17.0
- porting on python3.

* Sun Nov 04 2012 Ivan A. Melnikov <iv@altlinux.org> 0.1-alt1.git775dfb
- Initial build for Sisyphus.