Accepting request 978966 from home:glaubitz:branches:devel:languages:python

- Update to version 2.0.0
  * Removed deprecated function
  * Remove deprecated jsondiff entry point
- from version 1.3.1
  * Optionally allow different escape_str than '$'
  * Clarified the readme, closes #23
  * Fixed readme
- Remove jsondiff command from %install, %post, %postun and %files sections

OBS-URL: https://build.opensuse.org/request/show/978966
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsondiff?expand=0&rev=18
This commit is contained in:
Robert Schweikert 2022-05-24 13:35:17 +00:00 committed by Git OBS Bridge
parent 0bcdfe2073
commit a37284164b
4 changed files with 17 additions and 9 deletions

View File

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

3
jsondiff-2.0.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue May 24 13:11:04 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.0.0
* Removed deprecated function
* Remove deprecated jsondiff entry point
- from version 1.3.1
* Optionally allow different escape_str than '$'
* Clarified the readme, closes #23
* Fixed readme
- Remove jsondiff command from %install, %post, %postun and %files sections
-------------------------------------------------------------------
Tue Dec 7 09:32:07 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-jsondiff
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jsondiff
Version: 1.3.0
Version: 2.0.0
Release: 0
Summary: Module to diff JSON and JSON-like structures in Python
License: MIT
@ -48,7 +48,6 @@ Package to show differences between JSON and JSON-like structures in Python
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/jsondiff
%python_clone -a %{buildroot}%{_bindir}/jdiff
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -56,11 +55,9 @@ Package to show differences between JSON and JSON-like structures in Python
%pytest tests/__init__.py
%post
%python_install_alternative jsondiff
%python_install_alternative jdiff
%postun
%python_uninstall_alternative jsondiff
%python_uninstall_alternative jdiff
%files %{python_files}
@ -68,6 +65,5 @@ Package to show differences between JSON and JSON-like structures in Python
%doc README.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/jdiff
%python_alternative %{_bindir}/jsondiff
%changelog