forked from pool/python-python-jsonschema-objects
Accepting request 1098183 from home:mcalabkova:branches:devel:languages:python
- Update to 0.4.2 * Handle removed markdown version_info * fix nested oneOf resolution with different schema types - Drop merged pso-markdown-version.patch - Pin jsonschema version to < 4.18, not supported yet OBS-URL: https://build.opensuse.org/request/show/1098183 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jsonschema-objects?expand=0&rev=11
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-jsonschema-objects
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,29 +17,25 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# python2-Markdown missing
|
||||
%define skip_python2 1
|
||||
Name: python-python-jsonschema-objects
|
||||
Version: 0.4.1
|
||||
Version: 0.4.2
|
||||
Release: 0
|
||||
Summary: An object wrapper for JSON Schema definitions
|
||||
License: MIT
|
||||
URL: https://python-jsonschema-objects.readthedocs.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python_jsonschema_objects/python_jsonschema_objects-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM pso-markdown-version.patch gh#cwacek/python-jsonschema-objects#230
|
||||
Patch0: pso-markdown-version.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Markdown >= 2.4
|
||||
Requires: python-inflection >= 0.2
|
||||
Requires: python-jsonschema >= 2.3
|
||||
Requires: python-six >= 1.5.2
|
||||
Requires: (python-jsonschema >= 2.3 with python-jsonschema < 4.18)
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Markdown >= 2.4}
|
||||
BuildRequires: %{python_module inflection >= 0.2}
|
||||
BuildRequires: %{python_module jsonschema >= 2.3}
|
||||
BuildRequires: %{python_module jsonschema < 4.18}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six >= 1.5.2}
|
||||
@@ -62,7 +58,7 @@ An object wrapper for JSON Schema definitions
|
||||
}
|
||||
|
||||
%check
|
||||
%pytest -k 'not test_validates'
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user