forked from pool/python-sphinxcontrib-httpdomain
		
	- Sort out a bit to pass the tests again
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-httpdomain?expand=0&rev=27
This commit is contained in:
		
				
					committed by
					
						
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							0050138d97
						
					
				
				
					commit
					ce39fd09d0
				
			@@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Wed Jul  3 09:18:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Sort out a bit to pass the tests again
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-------------------------------------------------------------------
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
Tue Apr 23 14:52:51 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
 | 
					Tue Apr 23 14:52:51 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,31 +17,28 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
					%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
				
			||||||
%bcond_without test
 | 
					 | 
				
			||||||
Name:           python-sphinxcontrib-httpdomain
 | 
					Name:           python-sphinxcontrib-httpdomain
 | 
				
			||||||
Version:        1.7.0
 | 
					Version:        1.7.0
 | 
				
			||||||
Release:        0
 | 
					Release:        0
 | 
				
			||||||
Summary:        Sphinx domain for HTTP APIs
 | 
					Summary:        Sphinx domain for HTTP APIs
 | 
				
			||||||
License:        BSD-2-Clause
 | 
					License:        BSD-2-Clause
 | 
				
			||||||
Group:          Development/Languages/Python
 | 
					Group:          Development/Languages/Python
 | 
				
			||||||
URL:            http://bitbucket.org/birkenfeld/sphinx-contrib
 | 
					URL:            https://github.com/sphinx-contrib/httpdomain
 | 
				
			||||||
Source:         https://github.com/sphinx-contrib/httpdomain/archive/%{version}.tar.gz
 | 
					Source:         https://github.com/sphinx-contrib/httpdomain/archive/%{version}.tar.gz
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module Flask >= 0.11}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module Sphinx >= 1.5}
 | 
				
			||||||
BuildRequires:  %{python_module Sphinx}
 | 
					BuildRequires:  %{python_module Sphinx}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module bottle >= 0.11.0}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module pytest}
 | 
				
			||||||
BuildRequires:  %{python_module setuptools}
 | 
					BuildRequires:  %{python_module setuptools}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module six}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module tornado >= 4.5}
 | 
				
			||||||
BuildRequires:  fdupes
 | 
					BuildRequires:  fdupes
 | 
				
			||||||
BuildRequires:  python-rpm-macros
 | 
					BuildRequires:  python-rpm-macros
 | 
				
			||||||
Requires:       python-Sphinx >= 1.5
 | 
					Requires:       python-Sphinx >= 1.5
 | 
				
			||||||
Requires:       python-six
 | 
					Requires:       python-six
 | 
				
			||||||
Requires:       python-tornado >= 4.5
 | 
					Requires:       python-tornado >= 4.5
 | 
				
			||||||
BuildArch:      noarch
 | 
					BuildArch:      noarch
 | 
				
			||||||
%if %{with test}
 | 
					 | 
				
			||||||
BuildRequires:  %{python_module Flask >= 0.11}
 | 
					 | 
				
			||||||
BuildRequires:  %{python_module Sphinx >= 1.5}
 | 
					 | 
				
			||||||
BuildRequires:  %{python_module bottle >= 0.11.0}
 | 
					 | 
				
			||||||
BuildRequires:  %{python_module pytest}
 | 
					 | 
				
			||||||
BuildRequires:  %{python_module six}
 | 
					 | 
				
			||||||
BuildRequires:  %{python_module tornado >= 4.5}
 | 
					 | 
				
			||||||
%endif
 | 
					 | 
				
			||||||
%python_subpackages
 | 
					%python_subpackages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%description
 | 
					%description
 | 
				
			||||||
@@ -62,11 +59,8 @@ http://packages.python.org/sphinxcontrib-httpdomain/
 | 
				
			|||||||
%python_install
 | 
					%python_install
 | 
				
			||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%if %{with test}
 | 
					 | 
				
			||||||
%check
 | 
					%check
 | 
				
			||||||
PYTHONPATH=. 
 | 
					%pytest test
 | 
				
			||||||
%python_exec -m pytest test
 | 
					 | 
				
			||||||
%endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
%files %{python_files}
 | 
					%files %{python_files}
 | 
				
			||||||
%license LICENSE
 | 
					%license LICENSE
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user