15
0

- update to 0.2.12:

* install patiencediff 
  * drop python 3.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patiencediff?expand=0&rev=18
This commit is contained in:
2023-01-02 20:06:18 +00:00
committed by Git OBS Bridge
parent 22710b581f
commit 3023e768ed
4 changed files with 23 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb808544c8b26f4d12ee79485117c846f1d50235a4882a9a0a7a68e474091021
size 26812

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ded9b7f2d5037081a9df63daa16629ce5c23b505f72737a2f332666a76c4232
size 26936

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jan 2 20:02:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.2.12:
* install patiencediff
* drop python 3.6
-------------------------------------------------------------------
Tue Dec 13 15:48:46 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-patiencediff
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,20 @@
Name: python-patiencediff
Version: 0.2.11
Version: 0.2.12
Release: 0
Summary: Python implementation of the patiencediff algorithm
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/breezy-team/patiencediff
Source: https://files.pythonhosted.org/packages/source/p/patiencediff/patiencediff-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(preun):update-alternatives
%python_subpackages
%description
@@ -44,6 +46,13 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_clone -a %{buildroot}%{_bindir}/patiencediff
%post
%python_install_alternative patiencediff
%postun
%python_uninstall_alternative patiencediff
%check
%pytest
@@ -51,6 +60,7 @@ export CFLAGS="%{optflags}"
%files %{python_files}
%doc AUTHORS README.rst
%license COPYING
%python_alternative %{_bindir}/patiencediff
%{python_sitearch}/patiencediff
%{python_sitearch}/patiencediff-%{version}*-info