From f908d609c3ad4ace5cd1b6f03e99a2b640e37d707420e6b2310b66288b88c3ca Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 16:09:28 +0000 Subject: [PATCH 01/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=19 --- apache-libcloud-0.13.0.tar.bz2 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 apache-libcloud-0.13.0.tar.bz2 diff --git a/apache-libcloud-0.13.0.tar.bz2 b/apache-libcloud-0.13.0.tar.bz2 new file mode 100644 index 0000000..315b0dc --- /dev/null +++ b/apache-libcloud-0.13.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e26ee90d81ed996112bfe744a0d3f33a07bcf98dd41ec01f129e1682de1ddac5 +size 395117 From 444d71277ceda8bb56ea821840490ef4181f5a1d01889d190ba0c2af63570819 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 16:12:48 +0000 Subject: [PATCH 02/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=20 --- python-apache-libcloud.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 8d6fade..fc83f84 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -16,7 +16,7 @@ # Name: python-apache-libcloud -Version: 0.12.4 +Version: 0.13.0 Release: 1 License: Apache-2.0 Summary: Abstract away differences among multiple cloud provider APIs From 164c1b40a426e10200c7df9be4e2adea8d21647b94e5426833de904eb1d2b234 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 16:12:54 +0000 Subject: [PATCH 03/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=21 --- apache-libcloud-0.12.4.tar.bz2 | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 apache-libcloud-0.12.4.tar.bz2 diff --git a/apache-libcloud-0.12.4.tar.bz2 b/apache-libcloud-0.12.4.tar.bz2 deleted file mode 100644 index b03e88a..0000000 --- a/apache-libcloud-0.12.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbc9df0e1a14856280860ae3075c7b1c97c2ae61b95a55be082c52247e6202c0 -size 376883 From 66cf6c289141d9dc41c7f9a17c899c7394cfa95a3f44c827eb4de1d68184289d Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 16:23:50 +0000 Subject: [PATCH 04/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=22 --- python-apache-libcloud.changes | 61 ++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index 66bdde7..adacc25 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,4 +1,65 @@ ------------------------------------------------------------------- +Mon Jul 1 16:16:22 UTC 2013 - aboe76@gmail.com + +- Updated to 0.13.0 +- general changes: + - Add homebrew curl-ca-bundle path to CA_CERTS_PATH + - Modify OpenStackAuthConnection and change auth_token_expires + attribute to be a datetime object instead of a string. + - Modify OpenStackAuthConnection to support re-using of the + existing auth token if it's still valid instead of re-authenticating on every + authenticate() call. + - Modify base Connection class to not send Content-Length header if body is + not provided. + - Add the new error class ProviderError and modify InvalidCredsError to + inherit from it. +- Compute changes: + - Fix destroy_node method in the experimental libvirt driver. + - Add ex_start_node method to the Joyent driver. + - Fix Python 3 compatibility issue in the ScriptFileDeployment class. + - Add ex_set_metadata_entry and ex_get_metadata method to the VCloud driver. + - Various improvements and bug-fixes in the VCloud driver. + - Modify list_sizes method in the OpenStack driver to include + OpenStackNodeSize object which includes 'vcpus' attribute which holds + a number of virtual CPUs for this size. + - For consistency rename "ex_describe_keypairs" method in the EC2 driver to + "ex_describe_keypair". + - Modify "ex_describe_keypair" method to return key fingerprint in the + return value. + - Populate private_ips attribute in the CloudStack drive when returning + a Node object from the create_node method. + - Allow user to pass extra arguments via "extra_args" argument which are + then passed to the "deployVirtualMachine" call in the CloudStack driver + create_node method. + - Update Gandi driver to handle new billing model. + - Fix a bug in the Linode driver and remove extra newline which is added + when generating a random root password in create_node. + - Add extension methods for managing keypairs to the CloudStack driver. + - Add extension methods for managing security groups to the CloudStack + driver. + - Add extension methods for starting and stoping the node to the + CloudStack driver. + - Fix old _wait_until_running method. + - Fix a bug in the GoGrid driver get_uuid method. + - Various bug fixes and improvements in the HostVirtual driver. + - Fix a bug with deploy_node not respecting 'timeout' kwarg. + - Modify create_node method in CloudStack driver to return an instance of + CloudStackNode and add a new "expunging" node state. + - Update API endpoint hostnames in the ElasticHost driver and use hostnames + which return a valid SSL certificate. + - Add a driver for Rackspace's new datacenter in Sydney, Australia. + - Add ex_list_networks method and missing tests for list_templates to the + CloudStack driver. + - Correctly throw InvalidCredsError if user passes invalid credentials to + the DigitalOcean driver. + - Storage changes: + - Fix an issue with double encoding the container name in the CloudFiles + driver upload_object method. + Also properly encode container and object name used in the HTTP request + in the get_container and get_object method. +- Load Balancer changes: + - Add ex_list_current_usage method to the Rackspace driver. + ------------------------------------------------------------------- Tue May 7 17:56:01 UTC 2013 - aboe76@gmail.com - Updated to 0.12.4 From 15e7afe21a7927e8ee21aca940190010784dc02be4974fad1ee5a62c8a4b8043 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 17:16:38 +0000 Subject: [PATCH 05/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=23 --- python-apache-libcloud.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index fc83f84..af2f4dd 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -47,7 +47,6 @@ differences among multiple cloud provider APIs. %setup -q -n apache-libcloud-%{version} %build -python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} From f5ff43357ebe3efe19aee6689ad272246e3933b31f6fa71dd29fe2a4f14f50a5 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 17:23:54 +0000 Subject: [PATCH 06/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=24 --- python-apache-libcloud.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index af2f4dd..9101cd0 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -26,6 +26,9 @@ Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache- BuildRequires: fdupes BuildRequires: python BuildRequires: python-distribute +BuildRequires: python-unittest2 +BuildRequires: python-openssl +BuildRequires: python-mock Requires: python-simplejson %if 0%{?suse_version} >= 1210 BuildRequires: systemd @@ -47,6 +50,7 @@ differences among multiple cloud provider APIs. %setup -q -n apache-libcloud-%{version} %build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} From 14482949bb7af01a806754e9706eb25333691659c2210227b58eb808d091c8fb Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 17:27:34 +0000 Subject: [PATCH 07/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=25 --- python-apache-libcloud.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 9101cd0..6aecb71 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -27,7 +27,6 @@ BuildRequires: fdupes BuildRequires: python BuildRequires: python-distribute BuildRequires: python-unittest2 -BuildRequires: python-openssl BuildRequires: python-mock Requires: python-simplejson %if 0%{?suse_version} >= 1210 From 4717217cee60f9b2a4a48aee6ee9999dd4b19f2ab6e8918cf5b4be2210c0dc5e Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 17:32:02 +0000 Subject: [PATCH 08/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=26 --- python-apache-libcloud.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 6aecb71..be520a2 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -24,7 +24,10 @@ Url: https://libcloud.apache.org Group: System/Monitoring Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 BuildRequires: fdupes +%if 0%{?sles_version} BuildRequires: python +Requires: python +%endif BuildRequires: python-distribute BuildRequires: python-unittest2 BuildRequires: python-mock From 574ef765461f371f4e2c05c21d1da9d58903159666e7c945fcef921d77106500 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 17:49:27 +0000 Subject: [PATCH 09/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=27 --- python-apache-libcloud.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index be520a2..0733509 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -52,10 +52,10 @@ differences among multiple cloud provider APIs. %setup -q -n apache-libcloud-%{version} %build -python setup.py build +python2 setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes %{buildroot}%{python_sitelib}/libcloud/test/ %files From 06ae083f4408d3a32cc17713c8a8cc338c9e0f3591fd0010e04b48f0b269b040 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 17:58:04 +0000 Subject: [PATCH 10/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=28 --- python-apache-libcloud.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 0733509..c3feff6 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -52,10 +52,10 @@ differences among multiple cloud provider APIs. %setup -q -n apache-libcloud-%{version} %build -python2 setup.py build +python2.7 setup.py build %install -python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} +python2.7 setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes %{buildroot}%{python_sitelib}/libcloud/test/ %files From 727ced0c3690c8562bfd0a2200ae7790a7d194845549d0f493ae45d9ec618e4e Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 18:10:20 +0000 Subject: [PATCH 11/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=29 --- python-apache-libcloud.spec | 70 ++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 29 deletions(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index c3feff6..9bcd26a 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -1,7 +1,7 @@ # # spec file for package python-apache-libcloud # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,30 +13,17 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ -# + Name: python-apache-libcloud Version: 0.13.0 -Release: 1 -License: Apache-2.0 -Summary: Abstract away differences among multiple cloud provider APIs -Url: https://libcloud.apache.org -Group: System/Monitoring -Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 -BuildRequires: fdupes -%if 0%{?sles_version} -BuildRequires: python -Requires: python -%endif -BuildRequires: python-distribute -BuildRequires: python-unittest2 -BuildRequires: python-mock -Requires: python-simplejson -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%endif -Requires(pre): %fillup_prereq -Requires(pre): %insserv_prereq +Release: 0 +License: Apache License (2.0) +Summary: A standard Python library that abstracts away differences among multiple cloud provider APIs. For more information and documentation, please see http://libcloud.apacheorg +Url: http://libcloud.apache.org/ +Group: Development/Languages/Python +Source: https://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 +BuildRequires: python-devel 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()")} @@ -45,22 +32,47 @@ BuildArch: noarch %endif %description -Apache Libcloud is a standard Python library that abstracts away -differences among multiple cloud provider APIs. +Apache Libcloud - a unified interface into the cloud +==================================================== + +Apache Libcloud is a Python library which hides differences between different +cloud provider APIs and allows you to manage different cloud resources +through a unified and easy to use API. + +Resource you can manage with Libcloud are divided in the following categories: + +* Cloud Servers - services such as Amazon EC2 and Rackspace CloudServers + (libcloud.compute.*) +* Cloud Storage - services such as Amazon S3 and Rackspace CloudFiles + (libcloud.storage.*) +* Load Balancers as a Service, LBaaS (libcloud.loadbalancer.*) +* DNS as a Service, DNSaaS (libcloud.dns.*) + +Apache libcloud is an Apache project, see for +more information. + +For API documentation and examples, see: + + +Feedback +======== + +Please send feedback to the mailing list at , +or the JIRA at . + %prep %setup -q -n apache-libcloud-%{version} %build -python2.7 setup.py build +python setup.py build %install -python2.7 setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}%{python_sitelib}/libcloud/test/ +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files -%defattr(-,root,root) -%doc LICENSE +%defattr(-,root,root,-) +%doc README LICENSE CHANGES %{python_sitelib}/* %changelog From f24bc15072daa48e6290fea2f5664f5b5d2000ceb76b06f0ab1b451661fbbe53 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 18:10:34 +0000 Subject: [PATCH 12/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=30 --- python-apache-libcloud.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index adacc25..2897dda 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -2,6 +2,7 @@ Mon Jul 1 16:16:22 UTC 2013 - aboe76@gmail.com - Updated to 0.13.0 +- Updated spec file - general changes: - Add homebrew curl-ca-bundle path to CA_CERTS_PATH - Modify OpenStackAuthConnection and change auth_token_expires From 34465b25a68b58aad581cf73340d2dbe9d49053101ae1bb74b7114389ea51f5d Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 18:20:32 +0000 Subject: [PATCH 13/15] Accepting request 181703 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/181703 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=31 --- apache-libcloud-0.12.4.tar.bz2 | 3 ++ python-apache-libcloud.changes | 62 --------------------------------- python-apache-libcloud.spec | 63 +++++++++++++--------------------- 3 files changed, 26 insertions(+), 102 deletions(-) create mode 100644 apache-libcloud-0.12.4.tar.bz2 diff --git a/apache-libcloud-0.12.4.tar.bz2 b/apache-libcloud-0.12.4.tar.bz2 new file mode 100644 index 0000000..b03e88a --- /dev/null +++ b/apache-libcloud-0.12.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbc9df0e1a14856280860ae3075c7b1c97c2ae61b95a55be082c52247e6202c0 +size 376883 diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index 2897dda..66bdde7 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,66 +1,4 @@ ------------------------------------------------------------------- -Mon Jul 1 16:16:22 UTC 2013 - aboe76@gmail.com - -- Updated to 0.13.0 -- Updated spec file -- general changes: - - Add homebrew curl-ca-bundle path to CA_CERTS_PATH - - Modify OpenStackAuthConnection and change auth_token_expires - attribute to be a datetime object instead of a string. - - Modify OpenStackAuthConnection to support re-using of the - existing auth token if it's still valid instead of re-authenticating on every - authenticate() call. - - Modify base Connection class to not send Content-Length header if body is - not provided. - - Add the new error class ProviderError and modify InvalidCredsError to - inherit from it. -- Compute changes: - - Fix destroy_node method in the experimental libvirt driver. - - Add ex_start_node method to the Joyent driver. - - Fix Python 3 compatibility issue in the ScriptFileDeployment class. - - Add ex_set_metadata_entry and ex_get_metadata method to the VCloud driver. - - Various improvements and bug-fixes in the VCloud driver. - - Modify list_sizes method in the OpenStack driver to include - OpenStackNodeSize object which includes 'vcpus' attribute which holds - a number of virtual CPUs for this size. - - For consistency rename "ex_describe_keypairs" method in the EC2 driver to - "ex_describe_keypair". - - Modify "ex_describe_keypair" method to return key fingerprint in the - return value. - - Populate private_ips attribute in the CloudStack drive when returning - a Node object from the create_node method. - - Allow user to pass extra arguments via "extra_args" argument which are - then passed to the "deployVirtualMachine" call in the CloudStack driver - create_node method. - - Update Gandi driver to handle new billing model. - - Fix a bug in the Linode driver and remove extra newline which is added - when generating a random root password in create_node. - - Add extension methods for managing keypairs to the CloudStack driver. - - Add extension methods for managing security groups to the CloudStack - driver. - - Add extension methods for starting and stoping the node to the - CloudStack driver. - - Fix old _wait_until_running method. - - Fix a bug in the GoGrid driver get_uuid method. - - Various bug fixes and improvements in the HostVirtual driver. - - Fix a bug with deploy_node not respecting 'timeout' kwarg. - - Modify create_node method in CloudStack driver to return an instance of - CloudStackNode and add a new "expunging" node state. - - Update API endpoint hostnames in the ElasticHost driver and use hostnames - which return a valid SSL certificate. - - Add a driver for Rackspace's new datacenter in Sydney, Australia. - - Add ex_list_networks method and missing tests for list_templates to the - CloudStack driver. - - Correctly throw InvalidCredsError if user passes invalid credentials to - the DigitalOcean driver. - - Storage changes: - - Fix an issue with double encoding the container name in the CloudFiles - driver upload_object method. - Also properly encode container and object name used in the HTTP request - in the get_container and get_object method. -- Load Balancer changes: - - Add ex_list_current_usage method to the Rackspace driver. - ------------------------------------------------------------------- Tue May 7 17:56:01 UTC 2013 - aboe76@gmail.com - Updated to 0.12.4 diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 9bcd26a..8d6fade 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -1,7 +1,7 @@ # # spec file for package python-apache-libcloud # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,17 +13,25 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ - +# Name: python-apache-libcloud -Version: 0.13.0 -Release: 0 -License: Apache License (2.0) -Summary: A standard Python library that abstracts away differences among multiple cloud provider APIs. For more information and documentation, please see http://libcloud.apacheorg -Url: http://libcloud.apache.org/ -Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 -BuildRequires: python-devel +Version: 0.12.4 +Release: 1 +License: Apache-2.0 +Summary: Abstract away differences among multiple cloud provider APIs +Url: https://libcloud.apache.org +Group: System/Monitoring +Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-%{version}.tar.bz2 +BuildRequires: fdupes +BuildRequires: python +BuildRequires: python-distribute +Requires: python-simplejson +%if 0%{?suse_version} >= 1210 +BuildRequires: systemd +%endif +Requires(pre): %fillup_prereq +Requires(pre): %insserv_prereq 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()")} @@ -32,34 +40,8 @@ BuildArch: noarch %endif %description -Apache Libcloud - a unified interface into the cloud -==================================================== - -Apache Libcloud is a Python library which hides differences between different -cloud provider APIs and allows you to manage different cloud resources -through a unified and easy to use API. - -Resource you can manage with Libcloud are divided in the following categories: - -* Cloud Servers - services such as Amazon EC2 and Rackspace CloudServers - (libcloud.compute.*) -* Cloud Storage - services such as Amazon S3 and Rackspace CloudFiles - (libcloud.storage.*) -* Load Balancers as a Service, LBaaS (libcloud.loadbalancer.*) -* DNS as a Service, DNSaaS (libcloud.dns.*) - -Apache libcloud is an Apache project, see for -more information. - -For API documentation and examples, see: - - -Feedback -======== - -Please send feedback to the mailing list at , -or the JIRA at . - +Apache Libcloud is a standard Python library that abstracts away +differences among multiple cloud provider APIs. %prep %setup -q -n apache-libcloud-%{version} @@ -69,10 +51,11 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot}%{python_sitelib}/libcloud/test/ %files -%defattr(-,root,root,-) -%doc README LICENSE CHANGES +%defattr(-,root,root) +%doc LICENSE %{python_sitelib}/* %changelog From 65e5c4e57e4bdc80862d7c2603560f494b1c084ff3cd2a4921806c6a29dcb991 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 18:20:43 +0000 Subject: [PATCH 14/15] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=32 --- apache-libcloud-0.13.0.tar.bz2 | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 apache-libcloud-0.13.0.tar.bz2 diff --git a/apache-libcloud-0.13.0.tar.bz2 b/apache-libcloud-0.13.0.tar.bz2 deleted file mode 100644 index 315b0dc..0000000 --- a/apache-libcloud-0.13.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e26ee90d81ed996112bfe744a0d3f33a07bcf98dd41ec01f129e1682de1ddac5 -size 395117 From 005647734d0955a2fe7a3f33a9f554ea1b7847bf8fa42fb68f46adf8a5cf13e8 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Mon, 1 Jul 2013 19:11:22 +0000 Subject: [PATCH 15/15] Accepting request 181707 from home:aboe76:branches:devel:languages:python updated to 0.13.0, fixed build OBS-URL: https://build.opensuse.org/request/show/181707 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=33 --- apache-libcloud-0.12.4.tar.bz2 | 3 -- apache-libcloud-0.13.0.tar.bz2 | 3 ++ python-apache-libcloud.changes | 63 ++++++++++++++++++++++++++++++++++ python-apache-libcloud.spec | 4 ++- 4 files changed, 69 insertions(+), 4 deletions(-) delete mode 100644 apache-libcloud-0.12.4.tar.bz2 create mode 100644 apache-libcloud-0.13.0.tar.bz2 diff --git a/apache-libcloud-0.12.4.tar.bz2 b/apache-libcloud-0.12.4.tar.bz2 deleted file mode 100644 index b03e88a..0000000 --- a/apache-libcloud-0.12.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbc9df0e1a14856280860ae3075c7b1c97c2ae61b95a55be082c52247e6202c0 -size 376883 diff --git a/apache-libcloud-0.13.0.tar.bz2 b/apache-libcloud-0.13.0.tar.bz2 new file mode 100644 index 0000000..315b0dc --- /dev/null +++ b/apache-libcloud-0.13.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e26ee90d81ed996112bfe744a0d3f33a07bcf98dd41ec01f129e1682de1ddac5 +size 395117 diff --git a/python-apache-libcloud.changes b/python-apache-libcloud.changes index 66bdde7..36b654b 100644 --- a/python-apache-libcloud.changes +++ b/python-apache-libcloud.changes @@ -1,3 +1,66 @@ +------------------------------------------------------------------- +Mon Jul 1 18:30:05 UTC 2013 - aboe76@gmail.com + +- Updated to 0.13.0 +- General changes: + - Add homebrew curl-ca-bundle path to CA_CERTS_PATH. + - Modify OpenStackAuthConnection and change auth_token_expires attribute to + be a datetime object instead of a string. + - Modify OpenStackAuthConnection to support re-using of the existing auth + token if it's still valid instead of re-authenticating on every + authenticate() call. + - Modify base Connection class to not send Content-Length header if body is + not provided. + - Add the new error class ProviderError and modify InvalidCredsError to + inherit from it. +- compute changes: + - Fix destroy_node method in the experimental libvirt driver. + - Add ex_start_node method to the Joyent driver. + - Fix Python 3 compatibility issue in the ScriptFileDeployment class. + - Add ex_set_metadata_entry and ex_get_metadata method to the VCloud driver. + - Various improvements and bug-fixes in the VCloud driver. + - Add ex_set_metadata_entry and ex_get_metadata method to the VCloud driver. + - Modify list_sizes method in the OpenStack driver to include + OpenStackNodeSize object which includes 'vcpus' attribute which holds + a number of virtual CPUs for this size. + - For consistency rename "ex_describe_keypairs" method in the EC2 driver to + "ex_describe_keypair". + - Modify "ex_describe_keypair" method to return key fingerprint in the + return value. + - Populate private_ips attribute in the CloudStack drive when returning + a Node object from the create_node method. + - Allow user to pass extra arguments via "extra_args" argument which are + then passed to the "deployVirtualMachine" call in the CloudStack driver + create_node method. + - Update Gandi driver to handle new billing model. + - Fix a bug in the Linode driver and remove extra newline which is added + when generating a random root password in create_node. + - Add extension methods for managing keypairs to the CloudStack driver. + - Add extension methods for managing security groups to the CloudStack + driver. + - Add extension methods for starting and stoping the node to the + CloudStack driver. + - Fix old _wait_until_running method. + - Fix a bug in the GoGrid driver get_uuid method. + - Various bug fixes and improvements in the HostVirtual driver. + - Fix a bug with deploy_node not respecting 'timeout' kwarg. + - Modify create_node method in CloudStack driver to return an instance of + CloudStackNode and add a new "expunging" node state. + - Update API endpoint hostnames in the ElasticHost driver and use hostnames + which return a valid SSL certificate. + - Add a driver for Rackspace's new datacenter in Sydney, Australia. + - Add ex_list_networks method and missing tests for list_templates to the + CloudStack driver. + - Correctly throw InvalidCredsError if user passes invalid credentials to + the DigitalOcean driver. +- storage changes: + - Fix an issue with double encoding the container name in the CloudFiles + driver upload_object method. + Also properly encode container and object name used in the HTTP request + in the get_container and get_object method. +- load balancer changes: + - Add ex_list_current_usage method to the Rackspace driver. + ------------------------------------------------------------------- Tue May 7 17:56:01 UTC 2013 - aboe76@gmail.com diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index 8d6fade..332b502 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -16,7 +16,7 @@ # Name: python-apache-libcloud -Version: 0.12.4 +Version: 0.13.0 Release: 1 License: Apache-2.0 Summary: Abstract away differences among multiple cloud provider APIs @@ -26,6 +26,7 @@ Source0: http://pypi.python.org/packages/source/a/apache-libcloud/apache- BuildRequires: fdupes BuildRequires: python BuildRequires: python-distribute +BuildRequires: python-xml Requires: python-simplejson %if 0%{?suse_version} >= 1210 BuildRequires: systemd @@ -59,3 +60,4 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{python_sitelib}/* %changelog +