14
0

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

- Update to version 1.3.0
  *  Update README.rst
  *  Add license to setup.py
  *  Upating travis config to explicitly set ubuntu versions to use
     for each python version.
  *  Fix long list diffing bug by converting recursive code to iterative.
  *  Add failing test for list-diff recursion error bug
- Refresh patches for new version
  * remove_nose.patch
- Switch Source field to point to Github tarball URL
  * The tarball from PyPi does not contain the tests

OBS-URL: https://build.opensuse.org/request/show/936188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsondiff?expand=0&rev=17
This commit is contained in:
2021-12-07 16:02:03 +00:00
committed by Git OBS Bridge
parent 00a6eee6d7
commit 0bcdfe2073
5 changed files with 95 additions and 49 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jsondiff
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jsondiff
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: Module to diff JSON and JSON-like structures in Python
License: MIT
URL: https://github.com/ZoomerAnalytics/jsondiff
Source: https://files.pythonhosted.org/packages/source/j/jsondiff/jsondiff-%{version}.tar.gz
Source: https://github.com/ZoomerAnalytics/jsondiff/archive/%{version}.tar.gz#/jsondiff-%{version}.tar.gz
# PATCH-FEATURE-UPSTREAM remove_nose.patch bsc#[0-9]+ mcepl@suse.com
# Replace nose-random plugin with ripped of version independent of nose.
Patch0: remove_nose.patch
@@ -33,7 +33,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages