File python-openstackdocstheme.spec of Package python-openstackdocstheme

# spec file for package python-openstackdocstheme
# 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
# 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.22.0
Release:        0
Summary:        OpenStack Docs Theme
License:        Apache-2.0
Group:          Development/Languages/Python
URL:  {sname}
BuildRequires:  openstack-macros
BuildRequires:  python-devel
BuildRequires:  python2-Sphinx
BuildRequires:  python2-dulwich
BuildRequires:  python2-pbr
BuildRequires:  python2-requests
BuildRequires:  python2-setuptools
BuildRequires:  python3-Sphinx
BuildRequires:  python3-devel
BuildRequires:  python3-dulwich
BuildRequires:  python3-pbr
BuildRequires:  python3-requests
BuildRequires:  python3-setuptools
Requires:       python-Sphinx
Requires:       python-dulwich
BuildArch:      noarch

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

%autosetup -p1 -n openstackdocstheme-1.22.0

# 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