2015-08-27 06:55:20 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-futurist
|
|
|
|
#
|
2021-12-06 09:23:26 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-08-27 06:55:20 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-04-08 14:00:34 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-27 06:55:20 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-futurist
|
2021-12-06 09:23:26 +00:00
|
|
|
Version: 2.4.0
|
2015-08-27 06:55:20 +00:00
|
|
|
Release: 0
|
2018-01-24 14:31:11 +00:00
|
|
|
Summary: Useful additions to futures, from the future.
|
2015-08-27 06:55:20 +00:00
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Languages/Python
|
2021-12-06 09:23:26 +00:00
|
|
|
URL: https://docs.openstack.org/futurist
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/f/futurist/futurist-2.4.0.tar.gz
|
2018-01-24 14:31:11 +00:00
|
|
|
BuildRequires: openstack-macros
|
2020-05-12 09:59:38 +00:00
|
|
|
BuildRequires: python3-PrettyTable
|
2018-01-24 14:31:11 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
2018-09-07 13:37:09 +00:00
|
|
|
BuildRequires: python3-eventlet
|
2020-05-12 09:59:38 +00:00
|
|
|
BuildRequires: python3-monotonic
|
2018-09-07 13:37:09 +00:00
|
|
|
BuildRequires: python3-openstackdocstheme
|
|
|
|
BuildRequires: python3-oslotest
|
2018-01-24 14:31:11 +00:00
|
|
|
BuildRequires: python3-pbr >= 2.0.0
|
|
|
|
BuildRequires: python3-six >= 1.10.0
|
2019-04-08 14:00:34 +00:00
|
|
|
BuildRequires: python3-stestr
|
2018-09-07 13:37:09 +00:00
|
|
|
BuildRequires: python3-testscenarios
|
2015-08-27 06:55:20 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2018-01-24 14:31:11 +00:00
|
|
|
Useful additions to futures, from the future.
|
2015-08-27 06:55:20 +00:00
|
|
|
|
2020-03-14 12:31:17 +00:00
|
|
|
%package -n python3-futurist
|
|
|
|
Summary: Useful additions to futures, from the future.
|
2020-05-12 09:59:38 +00:00
|
|
|
Requires: python3-PrettyTable
|
2020-03-14 12:31:17 +00:00
|
|
|
Requires: python3-six >= 1.10.0
|
|
|
|
|
|
|
|
%description -n python3-futurist
|
|
|
|
Useful additions to futures, from the future.
|
|
|
|
|
|
|
|
This package contains the Python 3.x module.
|
|
|
|
|
2015-08-27 06:55:20 +00:00
|
|
|
%prep
|
2021-12-06 09:23:26 +00:00
|
|
|
%autosetup -p1 -n futurist-2.4.0
|
2018-01-24 14:31:11 +00:00
|
|
|
%py_req_cleanup
|
2015-08-27 06:55:20 +00:00
|
|
|
|
|
|
|
%build
|
2020-03-14 12:31:17 +00:00
|
|
|
%{py3_build}
|
2018-01-24 14:31:11 +00:00
|
|
|
|
|
|
|
# generate html docs
|
2021-12-06 09:23:26 +00:00
|
|
|
PBR_VERSION=2.4.0 %sphinx_build -b html doc/source doc/build/html
|
2019-10-17 08:28:59 +00:00
|
|
|
# remove the sphinx-build leftovers
|
|
|
|
rm -r doc/build/html/.{doctrees,buildinfo}
|
2015-08-27 06:55:20 +00:00
|
|
|
|
|
|
|
%install
|
2020-03-14 12:31:17 +00:00
|
|
|
%{py3_install}
|
2018-01-24 14:31:11 +00:00
|
|
|
|
|
|
|
%check
|
2020-03-14 12:31:17 +00:00
|
|
|
python3 -m stestr.cli run
|
2015-08-27 06:55:20 +00:00
|
|
|
|
2020-03-14 12:31:17 +00:00
|
|
|
%files -n python3-futurist
|
2018-01-24 14:31:11 +00:00
|
|
|
%doc doc/build/html README.rst
|
|
|
|
%license LICENSE
|
2020-03-14 12:31:17 +00:00
|
|
|
%{python3_sitelib}/futurist
|
|
|
|
%{python3_sitelib}/futurist-*-py?.?.egg-info
|
2015-08-27 06:55:20 +00:00
|
|
|
|
|
|
|
%changelog
|