File python-os-ken.spec of Package python-os-ken
#
# spec file for package python-os-ken
#
# Copyright (c) 2023 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 https://bugs.opensuse.org/
#
Name: python-os-ken
Epoch: 0
Version: 2.1.0
Release: 0
Summary: A component-based software defined networking framework in OpenStack
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/os-ken
Source0: https://files.pythonhosted.org/packages/source/o/os-ken/os-ken-2.1.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python39-Routes
BuildRequires: python39-WebOb
BuildRequires: python39-eventlet
BuildRequires: python39-mock
BuildRequires: python39-msgpack
BuildRequires: python39-netaddr
BuildRequires: python39-nose
BuildRequires: python39-oslo.config
BuildRequires: python39-oslotest
BuildRequires: python39-ovs
BuildRequires: python39-pbr
BuildRequires: python39-six
BuildRequires: python39-stestr
BuildArch: noarch
%description
A component-based software defined networking framework in OpenStack.
This is a fork of the Ryu library tailored for OpenStack Neutron.
%package -n python39-os-ken
Summary: A component-based software defined networking framework in OpenStack
Requires: python39-Routes
Requires: python39-WebOb
Requires: python39-eventlet
Requires: python39-msgpack
Requires: python39-netaddr
Requires: python39-oslo.config
Requires: python39-ovs
Requires: python39-pbr
Requires: python39-six
%description -n python39-os-ken
A component-based software defined networking framework in OpenStack.
This is a fork of the Ryu library tailored for OpenStack Neutron.
This package contains the Python 3.x module.
%package -n python-osken-doc
Summary: A component-based software defined networking framework in OpenStack - Documentation
Group: Documentation/HTML
BuildRequires: python39-Sphinx
BuildRequires: python39-openstackdocstheme
%description -n python-osken-doc
A component-based software defined networking framework in OpenStack.
This is a fork of the Ryu library tailored for OpenStack Neutron.
This package contains the documentation.
%prep
%autosetup -p1 -n os-ken-2.1.0
%py_req_cleanup
%build
%{py3_build}
PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%{py3_install}
%check
PYTHON=python3 ./run_tests.sh -N -P
%files -n python39-os-ken
%doc README.rst ChangeLog
%license LICENSE
%{python3_sitelib}/os_ken*
%{python3_sitelib}/*.egg-info
%{_bindir}/osken
%{_bindir}/osken-manager
%files -n python-osken-doc
%doc doc/build/html
%license LICENSE
%changelog