File python-openstackdocstheme.spec of Package python-openstackdocstheme

# spec file for package python-openstackdocstheme
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

Name:           python-openstackdocstheme
Version:        1.18.1
Release:        0
Summary:        OpenStack Docs Theme
License:        Apache-2.0
Group:          Development/Languages/Python
Url:  {sname}
#, to fix logger.warn issue
Patch0001:      0001-Fix-typo-in-logger.warning-call.patch
BuildRequires:  openstack-macros
BuildRequires:  python-devel
BuildRequires:  python2-Sphinx
BuildRequires:  python2-dulwich >= 0.15.0
BuildRequires:  python2-pbr >= 2.0.0
BuildRequires:  python2-requests >= 2.14.2
BuildRequires:  python2-setuptools >= 16.0
BuildRequires:  python3-Sphinx
BuildRequires:  python3-devel
BuildRequires:  python3-dulwich >= 0.15.0
BuildRequires:  python3-pbr >= 2.0.0
BuildRequires:  python3-requests >= 2.14.2
BuildRequires:  python3-setuptools >= 16.0
Requires:       python-Sphinx
Requires:       python-dulwich >= 0.15.0
BuildArch:      noarch

Theme and extension support for Sphinx documentation that is published
to Intended for use by OpenStack projects.

%autosetup -p1 -n openstackdocstheme-1.18.1

# we dont need hacking
sed -i '/^hacking.*/d' test-requirements.txt



%{python_expand rm -rf .testrepository
$python test

%files %{python_files}
%license LICENSE
%doc README.rst

openSUSE Build Service is sponsored by