From c7da60725f4a555a930ff324021193e2ef72f485283bd77385dcfa3a1057d9ed Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 22 Mar 2021 22:25:14 +0000 Subject: [PATCH] Accepting request 880152 from home:buschmann23:branches:devel:languages:python - add link to upstream issue that tests are not working - Update to 1.16.7: * Fixed: Renders "null" default value as "None" - Changes from 1.16.6: * Bug fixes - Changes from 1.16.5: * Fixes auto reference without title - Changes from 1.16.4: * Introduces the :lift_title: directive option suggested by ankostis. * Fixed a bug in rendering the items attribute of the array type - Changes from 1.16.3: * Fixed bugs rendering the default and examples keywords. - Changes from 1.16.2: * Introduced the configuration entry jsonschema_options setting default values for the directive options introduced in 1.16. The options now can accept a parameter to explicitly turn the option on or off. - Changes from 1.16.1: * Bug fixes - Changes from 1.16: * WouterTuinstra reimplemented support for dependencies and properly this time. He also improved error handling and reporting and added a couple of options improving the handling of references. The most important additions are the directive options :lift_description:, :lift_definitions:, :auto_target: and :auto_reference:. In addition to all that he also implemented support for the if, then and else keywords. OBS-URL: https://build.opensuse.org/request/show/880152 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-jsonschema?expand=0&rev=4 --- ...2e105845c306604eef60803a76ec8ff955e.tar.gz | 3 ++ python-sphinx-jsonschema.changes | 30 +++++++++++++++++++ python-sphinx-jsonschema.spec | 10 ++++--- v1.15.tar.gz | 3 -- 4 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 ab7262e105845c306604eef60803a76ec8ff955e.tar.gz delete mode 100644 v1.15.tar.gz diff --git a/ab7262e105845c306604eef60803a76ec8ff955e.tar.gz b/ab7262e105845c306604eef60803a76ec8ff955e.tar.gz new file mode 100644 index 0000000..478b91a --- /dev/null +++ b/ab7262e105845c306604eef60803a76ec8ff955e.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63c232ec930372fbd43baa195cd82512fa1e8f8bec2a6ea37ee8767969250f35 +size 36988 diff --git a/python-sphinx-jsonschema.changes b/python-sphinx-jsonschema.changes index 20e439e..e99a835 100644 --- a/python-sphinx-jsonschema.changes +++ b/python-sphinx-jsonschema.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Tue Mar 16 21:13:34 UTC 2021 - Matthias Fehring + +- Update to 1.16.7: + * Fixed: Renders "null" default value as "None" +- Changes from 1.16.6: + * Bug fixes +- Changes from 1.16.5: + * Fixes auto reference without title +- Changes from 1.16.4: + * Introduces the :lift_title: directive option suggested by ankostis. + * Fixed a bug in rendering the items attribute of the array type +- Changes from 1.16.3: + * Fixed bugs rendering the default and examples keywords. +- Changes from 1.16.2: + * Introduced the configuration entry jsonschema_options setting + default values for the directive options introduced in 1.16. + The options now can accept a parameter to explicitly turn the + option on or off. +- Changes from 1.16.1: + * Bug fixes +- Changes from 1.16: + * WouterTuinstra reimplemented support for dependencies and properly + this time. He also improved error handling and reporting and added + a couple of options improving the handling of references. The most + important additions are the directive options :lift_description:, + :lift_definitions:, :auto_target: and :auto_reference:. In addition + to all that he also implemented support for the if, then and else + keywords. + ------------------------------------------------------------------- Tue Jun 16 11:45:10 UTC 2020 - Tomáš Chvátal diff --git a/python-sphinx-jsonschema.spec b/python-sphinx-jsonschema.spec index 50ca640..c94b0af 100644 --- a/python-sphinx-jsonschema.spec +++ b/python-sphinx-jsonschema.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinx-jsonschema # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sphinx-jsonschema -Version: 1.15 +Version: 1.16.7 Release: 0 Summary: Sphinx extension to display JSON Schema License: GPL-3.0-only URL: https://github.com/lnoor/sphinx-jsonschema -Source: https://github.com/lnoor/sphinx-jsonschema/archive/v%{version}.tar.gz +# Upstream has not released/tagged the current version and the tarball at pypi.org is missing license and tests +Source: https://github.com/lnoor/sphinx-jsonschema/archive/ab7262e105845c306604eef60803a76ec8ff955e.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -45,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-ab7262e105845c306604eef60803a76ec8ff955e %build %python_build @@ -56,6 +57,7 @@ Sphinx extension to display JSON Schema. %check # The tests don't actually properly execute +# see upstream https://github.com/lnoor/sphinx-jsonschema/issues/56 #%%pytest %files %{python_files} diff --git a/v1.15.tar.gz b/v1.15.tar.gz deleted file mode 100644 index 52b87dc..0000000 --- a/v1.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51905e99a4c3a0e6f7a07af0eef4e9b1309f5a9356cd2e4332e54f1daea6770a -size 30248