14
0

6 Commits

Author SHA256 Message Date
f8d044a008 Accepting request 1291722 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsondiff?expand=0&rev=13
2025-07-10 20:14:08 +00:00
621ff2b780 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsondiff?expand=0&rev=28
2025-07-10 14:30:16 +00:00
88e32be91b Accepting request 1206726 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsondiff?expand=0&rev=12
2024-10-10 20:15:03 +00:00
1819c16469 - Update to 2.2.1
* Protect Symbol.eq by instance check

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsondiff?expand=0&rev=26
2024-10-10 14:44:32 +00:00
148b90ae0e Accepting request 1193580 from devel:languages:python
- Update to 2.2.0:
  * Exclude a list of paths from diff.
  * really drop python<=3.7 support
  * remove last bits of python2 support
  * Fix pypi release readme formatting
  * Minimal conversion to pytest+hypothesis
  * Added simple equality operator for class Symbol
  * jsondiff: fix symbol equality
  * setup.py: migrate to pyproject.toml
  * fix: better diffing of empty containers
  * add rightonly jsondiff syntax
  * Introduce YAML support
  * packaging: revert to requirements files
- Switch back to PyPi tarball. (required for setuptools_scm)
- Drop patch remove_nose.patch, no longer required.

OBS-URL: https://build.opensuse.org/request/show/1193580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsondiff?expand=0&rev=11
2024-08-13 11:24:52 +00:00
92221e3d5b - Update to 2.2.0:
* Exclude a list of paths from diff.
  * really drop python<=3.7 support
  * remove last bits of python2 support
  * Fix pypi release readme formatting
  * Minimal conversion to pytest+hypothesis
  * Added simple equality operator for class Symbol
  * jsondiff: fix symbol equality
  * setup.py: migrate to pyproject.toml
  * fix: better diffing of empty containers
  * add rightonly jsondiff syntax
  * Introduce YAML support
  * packaging: revert to requirements files
- Switch back to PyPi tarball. (required for setuptools_scm)
- Drop patch remove_nose.patch, no longer required.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsondiff?expand=0&rev=24
2024-08-13 03:19:22 +00:00
2 changed files with 2 additions and 22 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Thu Aug 21 09:14:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 10 14:29:55 UTC 2025 - Markéta Machová <mmachova@suse.com> Thu Jul 10 14:29:55 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -16,11 +16,7 @@
# #
%if 0%{?suse_version} > 1500
%bcond_without libalternatives %bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-jsondiff Name: python-jsondiff
Version: 2.2.1 Version: 2.2.1
@@ -36,17 +32,12 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: alts
Requires: python-PyYAML Requires: python-PyYAML
BuildArch: noarch BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages %python_subpackages
%description %description
@@ -66,12 +57,6 @@ Package to show differences between JSON and JSON-like structures in Python
%check %check
%pytest %pytest
%post
%python_install_alternative jdiff
%postun
%python_uninstall_alternative jdiff
%pre %pre
%python_libalternatives_reset_alternative jdiff %python_libalternatives_reset_alternative jdiff