From bcd351fbd3232230365fde10a540364567ed9e9045550a354727ccc0ced75114 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 14 Jan 2024 10:38:18 +0000 Subject: [PATCH] - 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 --- python-sphinx-jsonschema.changes | 13 +++++++++++++ python-sphinx-jsonschema.spec | 8 ++++---- sphinx-jsonschema-1.16.8.tar.gz | 3 --- sphinx-jsonschema-1.19.1.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 sphinx-jsonschema-1.16.8.tar.gz create mode 100644 sphinx-jsonschema-1.19.1.tar.gz diff --git a/python-sphinx-jsonschema.changes b/python-sphinx-jsonschema.changes index 3dd3776..5a70f17 100644 --- a/python-sphinx-jsonschema.changes +++ b/python-sphinx-jsonschema.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Jan 14 10:36:35 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-sphinx-jsonschema.spec b/python-sphinx-jsonschema.spec index 6e4ebdb..97c154a 100644 --- a/python-sphinx-jsonschema.spec +++ b/python-sphinx-jsonschema.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sphinx-jsonschema -Version: 1.16.8 +Version: 1.19.1 Release: 0 Summary: Sphinx extension to display JSON Schema License: GPL-3.0-only URL: https://github.com/lnoor/sphinx-jsonschema # 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: fdupes BuildRequires: python-rpm-macros @@ -46,7 +46,7 @@ BuildRequires: %{python_module requests} Sphinx extension to display JSON Schema. %prep -%setup -q -n sphinx-jsonschema-%{version} +%setup -q -n sphinx-jsonschema-v.%{version} %build %python_build diff --git a/sphinx-jsonschema-1.16.8.tar.gz b/sphinx-jsonschema-1.16.8.tar.gz deleted file mode 100644 index 079a002..0000000 --- a/sphinx-jsonschema-1.16.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90cb7957c685f17bcffa57bdfa23967e69cf8a68ab69cb4da8b97de8f008eaa9 -size 37067 diff --git a/sphinx-jsonschema-1.19.1.tar.gz b/sphinx-jsonschema-1.19.1.tar.gz new file mode 100644 index 0000000..c956217 --- /dev/null +++ b/sphinx-jsonschema-1.19.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7224606c301a7e5088e2c5c01b2559e9bb6338935ce2cb840b024641b535b77a +size 40684