--- python-boto-2.3.0.orig/boto.egg-info/SOURCES.txt +++ python-boto-2.3.0/boto.egg-info/SOURCES.txt @@ -3,6 +3,7 @@ MANIFEST.in README.markdown pylintrc +setup.cfg setup.py bin/asadmin bin/bundle_image --- python-boto-2.3.0.orig/boto.egg-info/PKG-INFO +++ python-boto-2.3.0/boto.egg-info/PKG-INFO @@ -1,4 +1,4 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: boto Version: 2.3.0 Summary: Amazon Web Services Library --- python-boto-2.3.0.orig/debian/NEWS +++ python-boto-2.3.0/debian/NEWS @@ -0,0 +1,19 @@ +python-boto (1.1c-1) unstable; urgency=low + + Boto now defaults to using the virtual bucket hosting server API for + Amazon S3. A by-product of this is that bucket names must adhere to the + same rules as host names in DNS, most notably that they are treated as + case-insensitive. This means that it is impossible to access existing + buckets which have names containing upper-case characters without + resorting to the old-style calling format. + + You can enable the older calling format by passing an instance of + boto.s3.connection.OrdinaryCallingFormat when creating connection + objects using the "calling_format" keyword. For example: + + from boto.s3.connection import OrdinaryCallingFormat + from boto import connect_s3 + + con = connect_s3(key, secret, calling_format=OrdinaryCallingFormat()) + + -- Eric Evans Thu, 03 Apr 2008 11:19:38 -0500 --- python-boto-2.3.0.orig/debian/compat +++ python-boto-2.3.0/debian/compat @@ -0,0 +1 @@ +5 --- python-boto-2.3.0.orig/debian/rules +++ python-boto-2.3.0/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f + +# Verbose mode +#export DH_VERBOSE=1 + +clean: + dh_testdir + dh_testroot + + rm -f build-stamp install-stamp + rm -rf build + find boto/ -name *.pyc | xargs rm -f + + dh_clean + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + + python setup.py build + + touch build-stamp + +install: build-stamp + dh_testdir + dh_installdirs + + python setup.py install --root $(CURDIR)/debian/python-boto \ + --install-scripts usr/share/doc/python-boto/examples/ \ + --install-layout=deb + + for f in `find $(CURDIR)/debian/python-boto -name \*.py`; do \ + sed -e '\,^#!/usr/bin/env python,d' < $$f > $$f.tmp; \ + mv $$f.tmp $$f; \ + done + + touch install-stamp + +binary-arch: +binary-indep: install + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_python2 + dh_gencontrol + dh_installdeb + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary + --- python-boto-2.3.0.orig/debian/watch +++ python-boto-2.3.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/(([ab]|rc)[0-9])$/~\1/" \ + https://github.com/boto/boto/downloads /downloads/boto/boto/boto-(.*).tar.gz --- python-boto-2.3.0.orig/debian/control +++ python-boto-2.3.0/debian/control @@ -0,0 +1,27 @@ +Source: python-boto +Section: python +Priority: optional +Maintainer: Eric Evans +Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3) +X-Python-Version: >= 2.5 +Homepage: http://code.google.com/p/boto/ +Vcs-Git: git://git.debian.org/git/users/eevans/python-boto +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/eevans/python-boto.git +Standards-Version: 3.9.3 + +Package: python-boto +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Provides: ${python:Provides} +Description: Python interface to Amazon's Web Services + Boto is a Python interface to the infrastructure services available from + Amazon. + . + Boto supports the following services: + * Elastic Compute Cloud (EC2) + * SimpleDB + * Simple Storage Service (S3) + * CloudFront + * Simple Queue Service (SQS) + * Elastic MapReduce + * Relational Database Service (RDS) --- python-boto-2.3.0.orig/debian/copyright +++ python-boto-2.3.0/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Eric Evans on +Wed, 04 Jul 2007 18:54:44 -0500 + +It was downloaded from: http://code.google.com/p/boto/ + +Upstream Author: Mitch Garnaat + +Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Portions of boto/connection.py and boto.utils.py were copied or derived +from sample code supplied by Amazon. The following notice applies to that +code. + + This software code is made available "AS IS" without warranties of any + kind. You may copy, display, modify and redistribute the software code + either by itself or as incorporated into your code; provided that you do + not remove any proprietary notices. Your use of this software code is at + your own risk and you waive any claim against Amazon Digital Services, + Inc. or its affiliates with respect to your use of this software code. + (c) 2006 Amazon Digital Services, Inc. or its affiliates. --- python-boto-2.3.0.orig/debian/changelog +++ python-boto-2.3.0/debian/changelog @@ -0,0 +1,139 @@ +python-boto (2.3.0-1ubuntu0.13.04.1) raring; urgency=low + + * Fix failures when there are spaces in a resource name. (LP: #962046) + + -- Chris J Arges Fri, 08 Feb 2013 09:50:51 -0600 + +python-boto (2.3.0-1) unstable; urgency=low + + * New upstream release (Closes: #664478) + * Update debian/watch for Boto's move to Github. Thanks Scott + Moser. (Closes: #650480) + + -- Eric Evans Sun, 15 Apr 2012 20:21:21 -0500 + +python-boto (2.0-2) unstable; urgency=low + + * Promote new upstream to unstable (Closes: #638931). + + -- Eric Evans Sun, 13 Nov 2011 11:58:40 -0800 + +python-boto (2.0-1) experimental; urgency=low + + * New upstream release. + + -- Eric Evans Sun, 16 Oct 2011 17:22:44 -0500 + +python-boto (1.9b-6) unstable; urgency=low + + * Convert packaging to dh_python2 (Closes: #631430). + + -- Eric Evans Sat, 30 Jul 2011 19:43:19 +0200 + +python-boto (1.9b-5) unstable; urgency=low + + * Updated to Debian Policy version 3.9.2. + * Patched to include Python 2.7 in httplib work-around for https + signatures. Thanks Matthias Klose. (Closes: #607120) + + -- Eric Evans Sun, 03 Jul 2011 16:04:44 -0500 + +python-boto (1.9b-4) unstable; urgency=low + + * Do not require Name param on RegisterImage (Closes: #591466). + + -- Eric Evans Tue, 03 Aug 2010 11:41:59 -0400 + +python-boto (1.9b-3) unstable; urgency=low + + * Strings exceptions are not allowed in Python 2.6 (Closes: #585284). + + -- Eric Evans Wed, 07 Jul 2010 19:36:13 +0000 + +python-boto (1.9b-2) unstable; urgency=low + + * Depend on versions of Python >= 2.5 (Closes: #563439). + + -- Eric Evans Wed, 06 Jan 2010 12:20:56 -0600 + +python-boto (1.9b-1) unstable; urgency=low + + * New upstream version. + + -- Eric Evans Thu, 24 Dec 2009 13:27:40 -0600 + +python-boto (1.8d-1) unstable; urgency=low + + * New Upstream Version (Closes: #536194). + + -- Eric Evans Wed, 08 Jul 2009 11:29:47 -0500 + +python-boto (1.8c-1) unstable; urgency=low + + * New Upstream Version (Closes: #534537). + + -- Eric Evans Sun, 28 Jun 2009 13:43:25 -0500 + +python-boto (1.7a-2) unstable; urgency=low + + * Patched test file to restore compatibility with python 2.4, + (Closes: #525365). + + -- Eric Evans Tue, 28 Apr 2009 21:11:20 -0500 + +python-boto (1.7a-1) unstable; urgency=low + + * New Upstream Version (Closes: #524931). + + -- Eric Evans Wed, 22 Apr 2009 20:50:03 -0500 + +python-boto (1.6b-1) unstable; urgency=low + + * New Upstream Version + + -- Eric Evans Tue, 30 Dec 2008 16:13:24 -0600 + +python-boto (1.4c-1) unstable; urgency=low + + * New Upstream Version + + -- Eric Evans Wed, 01 Oct 2008 20:47:21 -0500 + +python-boto (1.2a-1) unstable; urgency=low + + * New Upstream Version + + -- Eric Evans Sun, 20 Apr 2008 04:41:52 +0000 + +python-boto (1.1c-1) unstable; urgency=low + + * New upstream release (Closes: #461148). + * Patched boto/s3/connection.py to provide a means of restoring + the older calling convention for buckets. + + -- Eric Evans Thu, 03 Apr 2008 16:14:29 -0500 + +python-boto (1.0a-1) unstable; urgency=low + + * New upstream release. + + -- Eric Evans Thu, 10 Jan 2008 12:57:42 -0600 + +python-boto (0.9d-1) unstable; urgency=low + + * New upstream release. + + -- Eric Evans Sat, 24 Nov 2007 17:12:40 -0600 + +python-boto (0.9b-1) unstable; urgency=low + + * New upstream release. + * Move tests to /usr/share/doc/python-boto/examples, (Closes: #433373). + + -- Eric Evans Mon, 16 Jul 2007 17:17:48 -0500 + +python-boto (0.9a-1) unstable; urgency=low + + * Initial release. (Closes: #431626) + + -- Eric Evans Wed, 04 Jul 2007 17:23:42 -0500 --- python-boto-2.3.0.orig/debian/patches/series +++ python-boto-2.3.0/debian/patches/series @@ -0,0 +1 @@ +fix-spaces-in-resource-name.patch --- python-boto-2.3.0.orig/debian/patches/fix-spaces-in-resource-name.patch +++ python-boto-2.3.0/debian/patches/fix-spaces-in-resource-name.patch @@ -0,0 +1,21 @@ +Description: Fix failures when there are spaces in a resource name. + . + python-boto (2.3.0-1ubuntu1) quantal; urgency=low + . + * Fix failures when there are spaces in a resource name. (LP: #962046) +Author: Chris J Arges +Bug-Ubuntu: https://bugs.launchpad.net/bugs/962046 +Origin: upstream, https://github.com/boto/boto/commit/fa10336d5db5f6c0f4e953fce21bd3c53234c8f5 +Bug: https://github.com/boto/boto/issues/659 + +--- python-boto-2.2.2.orig/boto/utils.py ++++ python-boto-2.2.2/boto/utils.py +@@ -206,7 +206,7 @@ def _get_instance_metadata(url): + resource = field[0:p] + '/openssh-key' + else: + key = resource = field +- val = retry_url(url + resource) ++ val = retry_url(url + urllib.quote(resource, safe="/:")) + p = val.find('\n') + if p > 0: + val = val.split('\n')