15
0
Tomáš Chvátal
2020-06-08 06:58:24 +00:00
committed by Git OBS Bridge
commit 5438b5a3ee
6 changed files with 126 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
dictdiffer-0.8.1.tar.gz Normal file
View File

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

22
lower-reqs.diff Normal file
View File

@@ -0,0 +1,22 @@
Index: dictdiffer-0.8.1/setup.py
===================================================================
--- dictdiffer-0.8.1.orig/setup.py
+++ dictdiffer-0.8.1/setup.py
@@ -28,7 +28,7 @@ tests_require = [
'pytest-cov>=1.8.0',
'pytest-pep8>=1.0.6',
'pytest>=2.8.0',
- 'tox>=3.7.0',
+ 'tox>=2.9.0',
]
extras_require = {
@@ -50,7 +50,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()

11
python-dictdiffer.changes Normal file
View File

@@ -0,0 +1,11 @@
-------------------------------------------------------------------
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
View File

@@ -0,0 +1,66 @@
#
# spec file for package python-dictdiffer
#
# Copyright (c) 2020 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-dictdiffer
Version: 0.8.1
Release: 0
Summary: Dictdiffer is a library that helps you to diff and patch dictionaries
License: MIT
Group: Development/Languages/Python
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 pytest-runner >= 2.7}
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-numpy >= 1.11.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock >= 1.3.0}
BuildRequires: %{python_module pytest >= 2.8.0}
# /SECTION
%python_subpackages
%description
Dictdiffer is a library that helps you to diff and patch dictionaries.
%prep
%setup -q -n dictdiffer-%{version}
%patch0 -p1
# Remove dependence on unnecessary pytest plugins
rm pytest.ini
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc AUTHORS CHANGES README.rst
%license LICENSE
%{python_sitelib}/*
%changelog