Sync from SUSE:SLFO:Main python-dictdiffer revision 3628e3d530519daf32d372ade42431a3
This commit is contained in:
commit
0d49e8a218
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
dictdiffer-0.9.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
dictdiffer-0.9.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
22
lower-reqs.diff
Normal file
22
lower-reqs.diff
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Index: dictdiffer-0.9.0/setup.py
|
||||||
|
===================================================================
|
||||||
|
--- dictdiffer-0.9.0.orig/setup.py 2021-07-22 15:24:20.000000000 +0200
|
||||||
|
+++ dictdiffer-0.9.0/setup.py 2021-12-14 14:19:30.354291584 +0100
|
||||||
|
@@ -30,7 +30,7 @@ tests_require = [
|
||||||
|
'pytest-pydocstyle>=2;python_version<="3.5"',
|
||||||
|
'pytest-pydocstyle>=2.2.0;python_version>"3.5"',
|
||||||
|
'sphinx>=3',
|
||||||
|
- 'tox>=3.7.0',
|
||||||
|
+ 'tox>=2.9.0',
|
||||||
|
]
|
||||||
|
|
||||||
|
extras_require = {
|
||||||
|
@@ -55,7 +55,7 @@ for key, reqs in extras_require.items():
|
||||||
|
|
||||||
|
setup_requires = [
|
||||||
|
'pytest-runner>=2.7',
|
||||||
|
- 'setuptools_scm>=3.1.0',
|
||||||
|
+ 'setuptools_scm>=1.15.0',
|
||||||
|
]
|
||||||
|
|
||||||
|
packages = find_packages()
|
39
python-dictdiffer.changes
Normal file
39
python-dictdiffer.changes
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 27 20:55:44 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 29 03:16:06 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to autosetup and pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 17 08:58:50 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- actually does not require python-mock for build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 14 13:23:16 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 0.9.0
|
||||||
|
- Adds absolute tolerance feature for floats (@adrien-berchet) (#152)
|
||||||
|
- Drops support of Python<3.5 (@adrien-berchet) (#160)
|
||||||
|
- Adds `assert_no_diff` helper to assist pytest users (@joesolly) (#153)
|
||||||
|
- Migrates CI to gh-actions (@ParthS007 @diegodelemos) (#145)
|
||||||
|
- Removes dependency on pkg_resources (@eldruin)
|
||||||
|
- modified patches
|
||||||
|
% lower-reqs.diff (refreshed)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 7 05:35:54 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Tidy spec, running test suite via pytest directly
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 8 16:04:39 UTC 2020 - Kurt Garloff <kurt@garloff.de>
|
||||||
|
|
||||||
|
- Build python-dictdiffer-0.8.1 via py2pack.
|
||||||
|
- lower-reqs.diff: Allow building with tox >= 2.9 and
|
||||||
|
setuptools_scm >= 1.15.
|
66
python-dictdiffer.spec
Normal file
66
python-dictdiffer.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-dictdiffer
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-dictdiffer
|
||||||
|
Version: 0.9.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Dictdiffer is a library that helps you to diff and patch dictionaries
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/inveniosoftware/dictdiffer
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/d/dictdiffer/dictdiffer-%{version}.tar.gz
|
||||||
|
Patch0: lower-reqs.diff
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Suggests: python-numpy >= 1.11.0
|
||||||
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pytest >= 2.8.0}
|
||||||
|
# /SECTION
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Dictdiffer is a library that helps you to diff and patch dictionaries.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n dictdiffer-%{version}
|
||||||
|
# Remove dependence on unnecessary pytest plugins
|
||||||
|
rm pytest.ini
|
||||||
|
# https://github.com/inveniosoftware/dictdiffer/issues/167
|
||||||
|
sed -i '/pytest-runner/d' setup.py
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc AUTHORS CHANGES README.rst
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/dictdiffer
|
||||||
|
%{python_sitelib}/dictdiffer-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user