forked from pool/python-openstacksdk
- update to version 0.9.19
- Update load_balancer for v2 API - Introduce Member for Octavia (load balancing) - Fix comment in services function - Remove dead links about OpenStack RC file - Fix stack_file function return body - Cleanup test-requirements - Fix title in Network Agent resource doc - Add parameter_groups and conditions params for StackTemplate - Introduce Health Monitor for Octavia - fix the bug that cannot create a listener by openstacksdk - Introduce L7Rule for Octavia (load balancing) - Add required pool_id property to HealthMonitor - Fix some typos - Replace six.iteritems() with .items() - Add doc8 rule and check doc/source files - Add support for network quota details command - Allow filtering network ports by fixed_ips - Introduce Pool for Octavia (load balancing) - Update links in README - Update links in CONTRIBUTING.rst - Introduce Listener for Octavia (load balancing) - Fix octavia l7rules - Update external links which have moved - Introduce L7Policy for Octavia (load balancing) - Unify style of 'domain' field - Support to node-adopt and node-adopt-preview - fix the bug that cannot create a pool by openstacksdk - Add config param for cluster object - Add getting of QoS rule type details OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=19
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-openstacksdk
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -18,39 +18,55 @@
|
||||
|
||||
%global sname openstacksdk
|
||||
Name: python-openstacksdk
|
||||
Version: 0.9.17
|
||||
Version: 0.9.19
|
||||
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
|
||||
Source0: https://files.pythonhosted.org/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
|
||||
BuildRequires: python2-beautifulsoup4 >= 4.6.0
|
||||
BuildRequires: python2-deprecation >= 1.0
|
||||
BuildRequires: python2-fixtures >= 3.0.0
|
||||
BuildRequires: python2-jsonpatch >= 1.16
|
||||
BuildRequires: python2-mock >= 2.0.0
|
||||
BuildRequires: python2-os-testr >= 1.0.0
|
||||
BuildRequires: python2-pbr >= 2.0.0
|
||||
BuildRequires: python2-requests >= 2.14.2
|
||||
BuildRequires: python2-requests-mock >= 1.1.0
|
||||
BuildRequires: python2-setuptools >= 16.0
|
||||
BuildRequires: python2-six >= 1.10.0
|
||||
BuildRequires: python2-stevedore >= 1.20.0
|
||||
BuildRequires: python2-testrepository >= 0.0.18
|
||||
BuildRequires: python2-testscenarios >= 0.4
|
||||
BuildRequires: python2-testtools >= 2.2.0
|
||||
BuildRequires: python3-beautifulsoup4 >= 4.6.0
|
||||
BuildRequires: python3-deprecation >= 1.0
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-fixtures >= 3.0.0
|
||||
BuildRequires: python3-jsonpatch >= 1.16
|
||||
BuildRequires: python3-mock >= 2.0.0
|
||||
BuildRequires: python3-os-testr >= 1.0.0
|
||||
BuildRequires: python3-pbr >= 2.0.0
|
||||
BuildRequires: python3-requests >= 2.14.2
|
||||
BuildRequires: python3-requests-mock >= 1.1.0
|
||||
BuildRequires: python3-setuptools >= 16.0
|
||||
BuildRequires: python3-six >= 1.10.0
|
||||
BuildRequires: python3-stevedore >= 1.20.0
|
||||
BuildRequires: python3-testrepository >= 0.0.18
|
||||
BuildRequires: python3-testscenarios >= 0.4
|
||||
BuildRequires: python3-testtools >= 2.2.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-jsonpatch >= 1.16
|
||||
Requires: python-keystoneauth1 >= 3.2.0
|
||||
Requires: python-os-client-config >= 1.28.0
|
||||
Requires: python-six >= 1.10.0
|
||||
Requires: python-stevedore >= 1.20.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The python-openstacksdk is a collection of libraries for building
|
||||
@@ -58,16 +74,16 @@ 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
|
||||
%package -n python-openstacksdk-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
|
||||
BuildRequires: python-keystoneauth1 >= 3.2.0
|
||||
BuildRequires: python-openstackdocstheme >= 1.17.0
|
||||
BuildRequires: python-os-client-config >= 1.28.0
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
%description -n python-openstacksdk-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
|
||||
@@ -83,24 +99,26 @@ sed -i -e "s,'sphinx.ext.intersphinx'\,,," doc/source/conf.py
|
||||
sed -i 's/^warning-is-error.*/warning-is-error=0/g' setup.cfg
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%python_build
|
||||
export PYTHONPATH=.
|
||||
%{__python2} setup.py build_sphinx
|
||||
rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%python_install
|
||||
|
||||
%check
|
||||
%{__python2} setup.py testr
|
||||
%{python_expand rm -rf .testrepository
|
||||
$python setup.py test
|
||||
}
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.rst
|
||||
%{python2_sitelib}/openstack
|
||||
%{python2_sitelib}/*.egg-info
|
||||
|
||||
%files doc
|
||||
%files -n python-openstacksdk-doc
|
||||
%license LICENSE
|
||||
%doc doc/build/html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user