File python-mistral-lib.spec of Package python-mistral-lib

#
# spec file for package python-mistral-lib
#
# Copyright (c) 2020 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 https://bugs.opensuse.org/
#


Name:           python-mistral-lib
Version:        1.4.0
Release:        0
Summary:        Mistral shared routings and utilities
License:        Apache-2.0
Group:          Development/Languages/Python
URL:            http://www.openstack.org/
Source0:        https://files.pythonhosted.org/packages/source/m/mistral-lib/mistral-lib-1.4.0.tar.gz
BuildRequires:  openstack-macros
BuildRequires:  python3-eventlet
BuildRequires:  python3-oslo.log
BuildRequires:  python3-oslo.serialization
BuildRequires:  python3-oslotest
BuildRequires:  python3-stestr
BuildRequires:  python3-testtools
BuildArch:      noarch

%description
This library contains data types, exceptions, functions and
utilities common to Mistral, python-mistralclient and mistral-extra
repositories.

This library also contains the public interfaces for 3rd party integration
(e.g. Actions API, YAQL functions API, etc.)

%package -n python3-mistral-lib
Summary:        Mistral shared routings and utilities
Group:          Development/Languages/Python
Requires:       python3-eventlet
Requires:       python3-oslo.log
Requires:       python3-oslo.serialization
Requires:       python3-pbr

%description -n python3-mistral-lib
This library contains data types, exceptions, functions and
utilities common to Mistral, python-mistralclient and mistral-extra
repositories.

This library also contains the public interfaces for 3rd party integration
(e.g. Actions API, YAQL functions API, etc.)

This package contains the Python 3.x module.

%prep
%autosetup -p1 -n mistral-lib-%{version}
%py_req_cleanup

%build
%{py3_build}

%install
%{py3_install}

%check
python3 -m stestr.cli run

%files -n python3-mistral-lib
%license LICENSE
%doc README.rst ChangeLog
%{python3_sitelib}/mistral_lib
%{python3_sitelib}/*.egg-info

%changelog
openSUSE Build Service is sponsored by