1
0
Files
python-openstacksdk/python-openstacksdk.spec
Thomas Bechtold 2227f5d95c - update to 0.8.0:
* Add Nova server group resource
  * Make metadata handling consistent in Object Store
  * Updated from global requirements
  * Override delete function of senlin cluster/node
  * Basic resource.prop for ID attributes (message)
  * Basic resource.prop for ID attributes (cluster)
  * Adding Check/Recover Actions to Clusters
  * Basic resource.prop for ID attributes (block store)
  * Basic resource.prop for ID attributes (orchestration)
  * Fix compute tests for resource.prop ID attributes
  * Basic resource.prop for ID attributes (compute)
  * Basic resource.prop for ID attributes (image)
  * Basic resource.prop for ID attributes (identity)
  * Basic resource.prop for ID attributes (telemetry)
  * Update attributes uses hard coded id
  * Adding check/recover actions to cluster nodes
  * Basic resource.prop for ID attributes (network)
  * Remove 'date' from Object resource
  * Make functional test resources configurable
  * Fix Port resource properties
  * Refactor profile set_ methods
  * Add UNIXEpoch formatter as a type for properties
  * Update create_network function in test_network
  * Documentation for cluster API and resources
  * Resource object attributes not updated on some interfaces
  * Add ISO8601 formatter as a type for properties
  * Add LoadBalancer vip_port_id and provider properties
  * Raise NotFound exception when get a deleted stack
  * Updated from global requirements

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=2
2016-03-02 13:09:56 +00:00

115 lines
3.3 KiB
RPMSpec

#
# spec file for package python-openstacksdk
#
# Copyright (c) 2016 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/
#
Name: python-openstacksdk
Version: 0.8.0
Release: 0
Summary: An SDK for building applications to work with OpenStack
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.openstack.org/
Source: https://pypi.python.org/packages/source/o/openstacksdk/openstacksdk-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-fixtures
BuildRequires: python-keystoneauth1
BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-os-client-config
BuildRequires: python-oslo.utils
BuildRequires: python-pbr >= 1.8
BuildRequires: python-setuptools
BuildRequires: python-testtools
Requires: python-iso8601 >= 0.1.9
Requires: python-keystoneauth1 >= 2.1.0
Requires: python-requests >= 2.8.1
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.5.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
OpenStack Python SDK
====================
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 SDK is under active development, and in the interests of providing
a high-quality interface, the APIs provided in this release may differ
from those provided in future release.
Usage
-----
The following example simply connects to an OpenStack cloud and lists
the containers in the Object Store service.::
from openstack import connection
conn = connection.Connection(auth_url="http://openstack:5000/v3",
project_name="big_project",
username="SDK_user",
password="Super5ecretPassw0rd")
for container in conn.object_store.containers():
print(container.name)
Documentation
-------------
Documentation is available at
http://python-openstacksdk.readthedocs.org/en/latest/
Requirements
------------
* Python 2.7, Python 3.3+
* pbr
* requests
* six
* stevedore
* oslo.utils
License
-------
Apache 2.0
%prep
%setup -q -n openstacksdk-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
#nosetests
%files
%defattr(-,root,root,-)
%doc LICENSE ChangeLog README.rst AUTHORS
%{python_sitelib}/*
%changelog