forked from pool/python-sphinx-jsonschema
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
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user