- update to 1.19.1:

* load a schema from a Python dict or object (or actually any
    Python entity with a ``__str__`` method.).
  * with JSON Pointer the ``:pass_unmodified:`` option is included.
  * fixed a bug escaping backspaces.
  * ``:hide_key:`` directive option.
    This option allows you to hide certain keys, specified by a JSON
    Path specification, to be excluded from rendering.
  * added the ``:encoding:`` directive option.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-jsonschema?expand=0&rev=8
This commit is contained in:
Dirk Mueller 2024-01-14 10:38:18 +00:00 committed by Git OBS Bridge
parent a8bdef8f9c
commit bcd351fbd3
4 changed files with 20 additions and 7 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Jan 14 10:36:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.19.1:
* load a schema from a Python dict or object (or actually any
Python entity with a ``__str__`` method.).
* with JSON Pointer the ``:pass_unmodified:`` option is included.
* fixed a bug escaping backspaces.
* ``:hide_key:`` directive option.
This option allows you to hide certain keys, specified by a JSON
Path specification, to be excluded from rendering.
* added the ``:encoding:`` directive option.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 19 09:24:26 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org> Mon Apr 19 09:24:26 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-sphinx-jsonschema # spec file for package python-sphinx-jsonschema
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinx-jsonschema Name: python-sphinx-jsonschema
Version: 1.16.8 Version: 1.19.1
Release: 0 Release: 0
Summary: Sphinx extension to display JSON Schema Summary: Sphinx extension to display JSON Schema
License: GPL-3.0-only License: GPL-3.0-only
URL: https://github.com/lnoor/sphinx-jsonschema URL: https://github.com/lnoor/sphinx-jsonschema
# Tarballs from pypi.org are missing license files # Tarballs from pypi.org are missing license files
Source: https://github.com/lnoor/sphinx-jsonschema/archive/refs/tags/v%{version}.tar.gz#/sphinx-jsonschema-%{version}.tar.gz Source: https://github.com/lnoor/sphinx-jsonschema/archive/refs/tags/v.%{version}.tar.gz#/sphinx-jsonschema-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -46,7 +46,7 @@ BuildRequires: %{python_module requests}
Sphinx extension to display JSON Schema. Sphinx extension to display JSON Schema.
%prep %prep
%setup -q -n sphinx-jsonschema-%{version} %setup -q -n sphinx-jsonschema-v.%{version}
%build %build
%python_build %python_build

View File

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

View File

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