2017-02-21 12:46:32 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-monascaclient
|
|
|
|
#
|
2024-03-24 20:11:32 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2017-02-21 12:46:32 +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 12:59:44 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-02-21 12:46:32 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-monascaclient
|
2024-03-24 20:11:32 +00:00
|
|
|
Version: 2.8.0
|
2017-02-21 12:46:32 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Python API and CLI for OpenStack Monasca
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Languages/Python
|
2021-05-02 17:24:14 +00:00
|
|
|
URL: https://docs.openstack.org/python-monascaclient
|
2024-03-24 20:11:32 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/python-monascaclient/python-monascaclient-2.8.0.tar.gz
|
2017-02-21 12:46:32 +00:00
|
|
|
BuildRequires: openstack-macros
|
2018-09-03 13:11:23 +00:00
|
|
|
BuildRequires: python3-PrettyTable >= 0.7.2
|
|
|
|
BuildRequires: python3-PyYAML >= 3.12
|
|
|
|
BuildRequires: python3-fixtures
|
|
|
|
BuildRequires: python3-openstackdocstheme
|
2018-02-23 13:11:05 +00:00
|
|
|
BuildRequires: python3-osc-lib >= 1.8.0
|
2018-09-03 13:11:23 +00:00
|
|
|
BuildRequires: python3-oslo.concurrency
|
2018-02-23 13:11:05 +00:00
|
|
|
BuildRequires: python3-oslo.serialization >= 2.18.0
|
|
|
|
BuildRequires: python3-oslo.utils >= 3.33.0
|
2018-09-03 13:11:23 +00:00
|
|
|
BuildRequires: python3-oslotest
|
2018-02-23 13:11:05 +00:00
|
|
|
BuildRequires: python3-pbr >= 2.0.0
|
2018-09-03 13:11:23 +00:00
|
|
|
BuildRequires: python3-stestr
|
|
|
|
BuildRequires: python3-testscenarios
|
|
|
|
BuildRequires: python3-testtools
|
2017-02-21 12:46:32 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a client library for Monasca built to interface with the Monasca API. It
|
|
|
|
provides a Python API (the ``monascaclient`` module) and a command-line tool
|
|
|
|
(``monasca``).
|
|
|
|
|
2020-03-11 12:45:09 +00:00
|
|
|
%package -n python3-monascaclient
|
|
|
|
Summary: Python API and CLI for OpenStack Monasca
|
|
|
|
Requires: python3-Babel >= 2.3.4
|
|
|
|
Requires: python3-PrettyTable >= 0.7.2
|
|
|
|
Requires: python3-PyYAML >= 3.12
|
|
|
|
Requires: python3-iso8601 >= 0.1.11
|
|
|
|
Requires: python3-osc-lib >= 1.8.0
|
|
|
|
Requires: python3-oslo.serialization >= 2.18.0
|
|
|
|
Requires: python3-oslo.utils >= 3.33.0
|
|
|
|
Requires: python3-pbr >= 2.0.0
|
|
|
|
Requires: python3-requests
|
2021-05-02 17:24:14 +00:00
|
|
|
Requires: python3-six
|
2020-03-23 12:28:27 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
Obsoletes: python2-monascaclient < 2.0.0
|
|
|
|
%endif
|
2020-03-11 12:45:09 +00:00
|
|
|
|
|
|
|
%description -n python3-monascaclient
|
|
|
|
This is a client library for Monasca built to interface with the Monasca API. It
|
|
|
|
provides a Python API (the ``monascaclient`` module) and a command-line tool
|
|
|
|
(``monasca``).
|
|
|
|
|
2017-02-21 12:46:32 +00:00
|
|
|
The Monasca Client was written using the OpenStack Heat Python client as a framework.
|
|
|
|
|
|
|
|
%prep
|
2024-03-24 20:11:32 +00:00
|
|
|
%autosetup -p1 -n python-monascaclient-2.8.0
|
2017-02-21 12:46:32 +00:00
|
|
|
%py_req_cleanup
|
|
|
|
|
|
|
|
%build
|
2020-03-11 12:45:09 +00:00
|
|
|
%{py3_build}
|
2017-02-21 12:46:32 +00:00
|
|
|
|
|
|
|
%install
|
2020-03-11 12:45:09 +00:00
|
|
|
%{py3_install}
|
2017-02-21 12:46:32 +00:00
|
|
|
|
|
|
|
%check
|
2024-03-24 20:11:32 +00:00
|
|
|
%{openstack_stestr_run}
|
2017-02-21 12:46:32 +00:00
|
|
|
|
2020-03-11 12:45:09 +00:00
|
|
|
%files -n python3-monascaclient
|
2017-02-21 12:46:32 +00:00
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE
|
2020-03-11 12:45:09 +00:00
|
|
|
%{python3_sitelib}/monascaclient
|
|
|
|
%{python3_sitelib}/*.egg-info
|
|
|
|
%{_bindir}/monasca
|
2017-02-21 12:46:32 +00:00
|
|
|
|
|
|
|
%changelog
|