Blame python-patiencediff.spec

bea437e
%global pypi_name patiencediff
bea437e
Name:           python-%{pypi_name}
9904030
Version:        0.2.2
07f8f00
Release:        4%{?dist}
bea437e
Summary:        Python implementation of the patiencediff algorithm
bea437e
bea437e
License:        GPLv2+
bea437e
URL:            https://www.breezy-vcs.org/
bea437e
Source0:        %{pypi_source}
bea437e
bea437e
BuildRequires:  python3-devel
bea437e
BuildRequires:  python3dist(setuptools)
bea437e
BuildRequires:  gcc
bea437e
bea437e
%global _description %{expand:
bea437e
This package contains the implementation of the patiencediff algorithm, as
bea437e
first described by Bram Cohen. Like Python's difflib, this module provides
bea437e
both a convenience unified_diff function for the generation of unified diffs of
bea437e
text files as well as a SequenceMatcher that can be used on arbitrary
bea437e
lists. Patiencediff provides a good balance of performance, nice output for
bea437e
humans, and implementation simplicity.}
bea437e
bea437e
%description %_description
bea437e
bea437e
%package -n     python3-%{pypi_name}
bea437e
Summary:        %{summary}
bea437e
bea437e
%description -n python3-%{pypi_name} %_description
bea437e
bea437e
bea437e
%prep
bea437e
%autosetup -p1 -n %{pypi_name}-%{version}
bea437e
bea437e
%build
bea437e
%py3_build
bea437e
bea437e
%install
bea437e
%py3_install
bea437e
bea437e
%check
bea437e
%{python3} setup.py test
bea437e
bea437e
%files -n python3-%{pypi_name}
bea437e
%license COPYING
bea437e
%doc README.rst
bea437e
%{python3_sitearch}/%{pypi_name}/
bea437e
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
bea437e
bea437e
%changelog
07f8f00
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-4
07f8f00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
07f8f00
81b4742
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
81b4742
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
81b4742
f41feb3
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.2-2
f41feb3
- Rebuilt for Python 3.10
f41feb3
9904030
* Mon Mar 29 2021 Ondřej Pohořelský <opohorel@redhat.com> - 0.2.2-1
9904030
- Update to 0.2.2
9904030
9f95865
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
9f95865
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9f95865
bea437e
* Tue Sep 15 2020 Ondřej Pohořelský <opohorel@redhat.com> - 0.2.1-1
bea437e
- Initial package.