2012-11-15 15:23:31 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-sphinxcontrib-httpdomain
|
|
|
|
#
|
2021-02-09 07:56:01 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2012-11-15 15:23:31 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-04 14:06:25 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-05-13 09:27:28 +00:00
|
|
|
#
|
2012-11-15 15:23:31 +00:00
|
|
|
|
|
|
|
|
2017-07-05 09:36:30 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2012-11-15 15:23:31 +00:00
|
|
|
Name: python-sphinxcontrib-httpdomain
|
2019-04-24 08:45:21 +00:00
|
|
|
Version: 1.7.0
|
2012-11-15 15:23:31 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Sphinx domain for HTTP APIs
|
2013-05-13 09:27:28 +00:00
|
|
|
License: BSD-2-Clause
|
2019-07-03 09:18:35 +00:00
|
|
|
URL: https://github.com/sphinx-contrib/httpdomain
|
2019-04-24 08:45:21 +00:00
|
|
|
Source: https://github.com/sphinx-contrib/httpdomain/archive/%{version}.tar.gz
|
2019-07-03 09:18:35 +00:00
|
|
|
BuildRequires: %{python_module Flask >= 0.11}
|
|
|
|
BuildRequires: %{python_module Sphinx >= 1.5}
|
|
|
|
BuildRequires: %{python_module bottle >= 0.11.0}
|
|
|
|
BuildRequires: %{python_module pytest}
|
2017-07-05 09:36:30 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-07-03 09:18:35 +00:00
|
|
|
BuildRequires: %{python_module six}
|
2021-02-09 07:56:01 +00:00
|
|
|
BuildRequires: %{python_module tornado5}
|
2017-09-18 21:44:42 +00:00
|
|
|
BuildRequires: fdupes
|
2017-07-05 09:36:30 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2019-04-24 08:45:21 +00:00
|
|
|
Requires: python-Sphinx >= 1.5
|
2014-09-16 21:26:27 +00:00
|
|
|
Requires: python-six
|
2021-02-09 07:56:01 +00:00
|
|
|
Requires: python-tornado5
|
2012-11-15 15:23:31 +00:00
|
|
|
BuildArch: noarch
|
2017-07-05 09:36:30 +00:00
|
|
|
%python_subpackages
|
2012-11-15 15:23:31 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This contrib extension, sphinxcontrib.httpdomain provides a Sphinx
|
|
|
|
domain for describing RESTful HTTP APIs.
|
|
|
|
|
|
|
|
You can find the documentation from the following URL:
|
|
|
|
|
|
|
|
http://packages.python.org/sphinxcontrib-httpdomain/
|
|
|
|
|
|
|
|
%prep
|
2019-04-24 08:45:21 +00:00
|
|
|
%setup -q -n httpdomain-%{version}
|
2012-11-15 15:23:31 +00:00
|
|
|
|
|
|
|
%build
|
2017-07-05 09:36:30 +00:00
|
|
|
%python_build
|
2012-11-15 15:23:31 +00:00
|
|
|
|
|
|
|
%install
|
2017-07-05 09:36:30 +00:00
|
|
|
%python_install
|
2017-09-18 21:44:42 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2012-11-15 15:23:31 +00:00
|
|
|
|
2019-04-24 08:45:21 +00:00
|
|
|
%check
|
2019-07-03 09:18:35 +00:00
|
|
|
%pytest test
|
2019-04-24 08:45:21 +00:00
|
|
|
|
2017-07-05 09:36:30 +00:00
|
|
|
%files %{python_files}
|
2018-12-04 17:23:25 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
2017-09-18 21:44:42 +00:00
|
|
|
%{python_sitelib}/sphinxcontrib/autohttp/
|
2017-09-18 22:47:40 +00:00
|
|
|
%{python_sitelib}/sphinxcontrib/httpdomain.py*
|
2018-12-10 12:19:32 +00:00
|
|
|
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__
|
2017-09-18 21:44:42 +00:00
|
|
|
%{python_sitelib}/sphinxcontrib_httpdomain-%{version}-py*-nspkg.pth
|
|
|
|
%{python_sitelib}/sphinxcontrib_httpdomain-%{version}-py*.egg-info
|
2012-11-15 15:23:31 +00:00
|
|
|
|
|
|
|
%changelog
|