Accepting request 880627 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/880627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-jsonschema?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-03-24 15:13:54 +00:00 committed by Git OBS Bridge
commit a5fcdb5013
4 changed files with 39 additions and 7 deletions

View File

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

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Mar 16 21:13:34 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
- 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 <tchvatal@suse.com>

View File

@ -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}

View File

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