forked from pool/python-sphinx-jsonschema
- Update to 1.15:
* Fixes for new sphinx releases - Format with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-jsonschema?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
742e3d2155
commit
a1f7d71494
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sphinx-jsonschema
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,34 +12,33 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-sphinx-jsonschema
|
||||
Version: 1.10
|
||||
Version: 1.15
|
||||
Release: 0
|
||||
License: GPL-3.0
|
||||
Summary: Sphinx extension to display JSON Schema
|
||||
Url: https://github.com/lnoor/sphinx-jsonschema
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinx-jsonschema/sphinx-jsonschema-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/lnoor/sphinx-jsonschema
|
||||
Source: https://github.com/lnoor/sphinx-jsonschema/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-docutils
|
||||
Requires: python-jsonpointer
|
||||
Requires: python-requests
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module jsonpointer}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module requests}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-docutils
|
||||
Requires: python-jsonpointer
|
||||
Requires: python-PyYAML
|
||||
Requires: python-requests
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -56,10 +55,12 @@ Sphinx extension to display JSON Schema.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# The tests don't actually properly execute
|
||||
#%%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user