!4 [sync] PR-3: update to 0.18.0
From: @openeuler-sync-bot Reviewed-by: @huangtianhua Signed-off-by: @huangtianhua
This commit is contained in:
commit
56cb8d9696
@ -1,51 +0,0 @@
|
|||||||
%global pypi_name fuzzywuzzy
|
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
|
||||||
Version: 0.18.0
|
|
||||||
Release: 1
|
|
||||||
Summary: Fuzzy string matching in Python
|
|
||||||
|
|
||||||
License: GPL-2.0
|
|
||||||
URL: https://github.com/seatgeek/fuzzywuzzy/
|
|
||||||
Source0: %{pypi_source}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
|
||||||
Fuzzy string matching module that uses Levenshtein Distance to calculate the
|
|
||||||
differences between sequences in a simple-to-use package.
|
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
|
||||||
Summary: %{summary}
|
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
BuildRequires: python3-pycodestyle
|
|
||||||
|
|
||||||
%description -n python3-%{pypi_name}
|
|
||||||
Fuzzy string matching module that uses Levenshtein Distance to calculate the
|
|
||||||
differences between sequences in a simple-to-use package.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{pypi_name}-%{version}
|
|
||||||
# These scripts shouldn't be executable
|
|
||||||
sed -i '1d' %{pypi_name}/{fuzz.py,process.py,StringMatcher.py}
|
|
||||||
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
|
||||||
|
|
||||||
%build
|
|
||||||
%py3_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%py3_install
|
|
||||||
|
|
||||||
%check
|
|
||||||
%{__python3} -m unittest
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
|
||||||
%doc CHANGES.rst README.rst
|
|
||||||
%license LICENSE.txt
|
|
||||||
%{python3_sitelib}/%{pypi_name}/
|
|
||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Jun 20 2022 liukuo <liukuo@kylinos.cn> - 0.18.0-1
|
|
||||||
- Package init
|
|
||||||
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-fuzzywuzzy
|
Name: python-fuzzywuzzy
|
||||||
Version: 0.3.0
|
Version: 0.18.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Fuzzy string matching in python
|
Summary: Fuzzy string matching in python
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
URL: https://github.com/seatgeek/fuzzywuzzy/
|
URL: https://github.com/seatgeek/fuzzywuzzy/
|
||||||
Source0: https://files.pythonhosted.org/packages/1d/09/5d5f09ceab99e7163ba302eba977638c969b92e2288111986460f4d2ca59/fuzzywuzzy-0.3.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/11/4b/0a002eea91be6048a2b5d53c5f1b4dafd57ba2e36eea961d05086d7c28ce/fuzzywuzzy-0.18.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
Fuzzy string matching like a boss.
|
Fuzzy string matching like a boss.
|
||||||
@ -19,6 +19,7 @@ BuildRequires: python3-setuptools
|
|||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-pycodestyle
|
||||||
%description -n python3-fuzzywuzzy
|
%description -n python3-fuzzywuzzy
|
||||||
Fuzzy string matching like a boss.
|
Fuzzy string matching like a boss.
|
||||||
|
|
||||||
@ -73,6 +74,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 9 2022 caodongxia <caodongxia@h-partners.com> - 0.18.0-1
|
||||||
|
- Update to 0.18.0
|
||||||
|
|
||||||
* Thu Jun 23 2022 OpenStack_SIG <openstack@openeuler.org> - 0.3.0-1
|
* Thu Jun 23 2022 OpenStack_SIG <openstack@openeuler.org> - 0.3.0-1
|
||||||
- Init package python3-fuzzywuzzy of version 0.3.0
|
- Init package python3-fuzzywuzzy of version 0.3.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user