File python-futurist.spec of Package python-futurist

# spec file for package python-futurist
# Copyright (c) 2019 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

%global sname futurist
Name:           python-futurist
Version:        0.18.0
Release:        0
Summary:        Backport of the concurrent.futures package from Python 3.2
License:        Apache-2.0
BuildRequires:  openstack-macros
BuildRequires:  python-PrettyTable
BuildRequires:  python-Sphinx
BuildRequires:  python-contextlib2
BuildRequires:  python-devel
BuildRequires:  python-eventlet
BuildRequires:  python-futures
BuildRequires:  python-monotonic
BuildRequires:  python-oslosphinx
BuildRequires:  python-oslotest
BuildRequires:  python-pbr
BuildRequires:  python-setuptools
BuildRequires:  python-six
BuildRequires:  python-testrepository
BuildRequires:  python-testscenarios
BuildRequires:  python-testtools
Requires:       python-PrettyTable
Requires:       python-contextlib2
Requires:       python-futures
Requires:       python-monotonic
Requires:       python-six
BuildArch:      noarch

Backport of the concurrent.futures package from Python 3.2.
Useful additions to futures from the future.

%setup -q -n %{sname}-%{version}

# generate html docs
%{__python2} build_sphinx
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}


%{__python2} test

%doc doc/build/html README.rst
%license LICENSE