1
0
Files
python-openstacksdk/python-openstacksdk.spec
Thomas Bechtold 1788c68f9d - update to version 0.9.17
- Fix document warnings
  - Add port property: trunk_details
  - Introduce Base for Octavia (load balancing)
  - Add compute support server migrate operation
  - Remove discover from test-requirements
  - Use https instead of http in cluster examples
  - Add is_profile_only to Cluster resource
  - Fix network quota test so it works on gate
  - Add compute support server backup operation
  - Cleanup various Sphinx warnings during doc build
  - Add wait_for_xxx methods to cluster proxy
  - Add new parameter "is_default" to Network QoS policy.
  - Fix the network service provider test
  - Filtering support by is_router_external to network resource
  - Reorganize image docs
  - Reorganize telemetry docs
  - Add cluster_operation and node_operation
  - Fix the agent add remove test
  - Remove get_service method from compute
  - Enable warnings_as_errors in doc enforcer
  - Add StackFiles resource to orchestration v1
  - Update the image used for functional tests
  - Fix the network floating ip test for get
  - Correct Network `ports` query parameters
  - Fix the telemetry statistics test
  - Updated from global requirements
  - Remove two remaining doc warnings
  - Add data plane status support to Network Port obj
  - Add 'project_id' to Server query parameters

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=17
2017-08-07 13:29:29 +00:00

108 lines
3.6 KiB
RPMSpec

#
# spec file for package python-openstacksdk
#
# Copyright (c) 2017 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 http://bugs.opensuse.org/
#
%global sname openstacksdk
Name: python-openstacksdk
Version: 0.9.17
Release: 0
Summary: An SDK for building applications to work with OpenStack
License: Apache-2.0
Group: Development/Languages/Python
Url: https://launchpad.net/python-openstacksdk
Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-Sphinx
BuildRequires: python-beautifulsoup4
BuildRequires: python-deprecation >= 1.0
BuildRequires: python-devel
BuildRequires: python-fixtures >= 3.0.0
BuildRequires: python-jsonpatch >= 1.1
BuildRequires: python-mock >= 2.0
BuildRequires: python-openstackdocstheme >= 1.11.0
BuildRequires: python-os-testr >= 0.8.0
BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-requests >= 2.14.2
BuildRequires: python-requests-mock >= 1.1
BuildRequires: python-setuptools >= 16.0
BuildRequires: python-six >= 1.9.0
BuildRequires: python-stevedore >= 1.20.0
BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0
Requires: python-deprecation >= 1.0
Requires: python-jsonpatch >= 1.1
Requires: python-keystoneauth1 >= 2.21.0
Requires: python-os-client-config >= 1.27.0
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.20.0
BuildArch: noarch
%description
The python-openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to
provide a consistent and complete set of interactions with OpenStack's
many services, along with complete documentation, examples, and tools.
%package doc
Summary: %{summary} - Documentation
Group: Documentation/HTML
BuildRequires: python-Sphinx
BuildRequires: python-keystoneauth1 >= 2.21.0
BuildRequires: python-openstackdocstheme >= 1.11.0
BuildRequires: python-os-client-config >= 1.27.0
Requires: %{name} = %{version}
%description doc
The python-openstacksdk is a collection of libraries for building
applications to work with OpenStack clouds. The project aims to
provide a consistent and complete set of interactions with OpenStack's
many services, along with complete documentation, examples, and tools.
This package contains documentation files for %{name}.
%prep
%autosetup -p1 -n %{sname}-%{version}
sed -i -e "s,'sphinx.ext.intersphinx'\,,," doc/source/conf.py
%py_req_cleanup
# build fails with warnings
sed -i 's/^warning-is-error.*/warning-is-error=0/g' setup.cfg
%build
%py2_build
export PYTHONPATH=.
%{__python2} setup.py build_sphinx
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%py2_install
%check
%{__python2} setup.py testr
%files
%license LICENSE
%doc ChangeLog README.rst
%{python2_sitelib}/openstack
%{python2_sitelib}/*.egg-info
%files doc
%license LICENSE
%doc doc/build/html
%changelog