forked from pool/python-openstacksdk
		
	initial version 0.7.1
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=1
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					## Default LFS
 | 
				
			||||||
 | 
					*.7z filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.bsp filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.bz2 filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.gem filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.gz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.jar filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.lz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.lzma filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.obscpio filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.oxt filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.pdf filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.png filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.rpm filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.tbz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.tbz2 filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.tgz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.ttf filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.txz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.whl filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.xz filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.zip filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
 | 
					*.zst filter=lfs diff=lfs merge=lfs -text
 | 
				
			||||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					.osc
 | 
				
			||||||
							
								
								
									
										3
									
								
								openstacksdk-0.7.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								openstacksdk-0.7.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					version https://git-lfs.github.com/spec/v1
 | 
				
			||||||
 | 
					oid sha256:620b4303a2742e17605427772e6468cb59bb36ee3ca74b41aeec2226e06fc842
 | 
				
			||||||
 | 
					size 182194
 | 
				
			||||||
							
								
								
									
										5
									
								
								python-openstacksdk.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								python-openstacksdk.changes
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Tue Dec  8 07:22:07 UTC 2015 - bwiedemann@suse.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- initial version 0.7.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										110
									
								
								python-openstacksdk.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										110
									
								
								python-openstacksdk.spec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,110 @@
 | 
				
			|||||||
 | 
					#
 | 
				
			||||||
 | 
					# spec file for package python-openstacksdk
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Copyright (c) 2015 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.7.1
 | 
				
			||||||
 | 
					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-keystoneauth1
 | 
				
			||||||
 | 
					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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user