Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
python-jsondiff.28337
python-jsondiff.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jsondiff.spec of Package python-jsondiff.28337
# # spec file for package python-jsondiff # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jsondiff 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://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 BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch %python_subpackages %description Package to show differences between JSON and JSON-like structures in Python %prep %autosetup -p1 -n jsondiff-%{version} %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/jsondiff %python_clone -a %{buildroot}%{_bindir}/jdiff %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %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} %license LICENSE %doc README.rst %{python_sitelib}/* %python_alternative %{_bindir}/jdiff %python_alternative %{_bindir}/jsondiff %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor