From 69f8cfd34814f7d2526951b83996c013004ee6ac46f3cfa4d9f21c3312ff3e64 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 16 Dec 2021 11:32:38 +0000 Subject: [PATCH] Accepting request 940500 from home:bnavigator:python-rpm-macros - Tornado5 (and Flask) are optional. Tornado5 is not available for python310 OBS-URL: https://build.opensuse.org/request/show/940500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-httpdomain?expand=0&rev=46 --- python-sphinxcontrib-httpdomain.changes | 6 ++++++ python-sphinxcontrib-httpdomain.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-sphinxcontrib-httpdomain.changes b/python-sphinxcontrib-httpdomain.changes index e874515..d6dd3df 100644 --- a/python-sphinxcontrib-httpdomain.changes +++ b/python-sphinxcontrib-httpdomain.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 14 12:51:54 UTC 2021 - Ben Greiner + +- Tornado5 (and Flask) are optional. Tornado5 is not available for + python310 + ------------------------------------------------------------------- Sat Oct 16 19:25:22 UTC 2021 - Dirk Müller diff --git a/python-sphinxcontrib-httpdomain.spec b/python-sphinxcontrib-httpdomain.spec index aba8ee8..6c17210 100644 --- a/python-sphinxcontrib-httpdomain.spec +++ b/python-sphinxcontrib-httpdomain.spec @@ -16,8 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global skip_python2 1 +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 Name: python-sphinxcontrib-httpdomain Version: 1.8.0 Release: 0 @@ -31,12 +31,12 @@ BuildRequires: %{python_module bottle >= 0.11.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: %{python_module tornado5} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: %{python_module tornado5 if (%python-base without python310-base)} Requires: python-Sphinx >= 1.5 Requires: python-six -Requires: python-tornado5 +Recommends: python-tornado5 BuildArch: noarch %python_subpackages @@ -46,7 +46,7 @@ domain for describing RESTful HTTP APIs. You can find the documentation from the following URL: -http://packages.python.org/sphinxcontrib-httpdomain/ +https://sphinxcontrib-httpdomain.readthedocs.io/en/stable/ %prep %autosetup -p1 -n httpdomain-%{version}