From 33d8f9626382cecb238d1467534dc5a63f9fce4b Mon Sep 17 00:00:00 2001 From: Takaki Taniguchi Date: Tue, 13 Jan 2015 13:49:43 +0000 Subject: [PATCH] new upstream --- debian/changelog | 7 ++ debian/patches/remove-duplicated-code | 108 ++++++++++++++------------ 2 files changed, 64 insertions(+), 51 deletions(-) diff --git a/debian/changelog b/debian/changelog index 54a59636..173774cd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-botocore (0.81.0-1) UNRELEASED; urgency=medium + + * New upstream release + * Refresh patch. + + -- TANIGUCHI Takaki Tue, 13 Jan 2015 22:31:16 +0900 + python-botocore (0.69.0-1) unstable; urgency=medium * New upstream release diff --git a/debian/patches/remove-duplicated-code b/debian/patches/remove-duplicated-code index 84b05f46..379b5a98 100644 --- a/debian/patches/remove-duplicated-code +++ b/debian/patches/remove-duplicated-code @@ -1,10 +1,13 @@ -Description: Remove duplicate code - Upstream code contains duplicate code (requests and urllib3). - Remove this code from orig-tarball and modify import directives. +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. . - python-botocore (0.29.0+repack-1) UNRELEASED; urgency=medium + python-botocore (0.81.0-1) UNRELEASED; urgency=medium . - * Remove duplicated code from upstream tarball. + * New upstream release Author: TANIGUCHI Takaki --- @@ -14,50 +17,18 @@ are templates for supplementary fields that you might want to add: Origin: , Bug: -Bug-Debian: http://bugs.debian.org/ +Bug-Debian: https://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: -Index: python-botocore-0.69.0/botocore/endpoint.py -=================================================================== ---- python-botocore-0.69.0.orig/botocore/endpoint.py 2014-11-05 09:35:21.714078645 +0900 -+++ python-botocore-0.69.0/botocore/endpoint.py 2014-11-05 09:35:21.710078697 +0900 -@@ -17,8 +17,8 @@ - import time - import threading - --from botocore.vendored.requests.sessions import Session --from botocore.vendored.requests.utils import get_environ_proxies -+from requests.sessions import Session -+from requests.utils import get_environ_proxies - import six - - import botocore.response -Index: python-botocore-0.69.0/botocore/retryhandler.py -=================================================================== ---- python-botocore-0.69.0.orig/botocore/retryhandler.py 2014-11-05 09:35:21.714078645 +0900 -+++ python-botocore-0.69.0/botocore/retryhandler.py 2014-11-05 09:35:21.710078697 +0900 -@@ -17,8 +17,8 @@ - import logging - from binascii import crc32 - --from botocore.vendored.requests import ConnectionError, Timeout --from botocore.vendored.requests.packages.urllib3.exceptions import ClosedPoolError -+from requests import ConnectionError, Timeout -+from urllib3.exceptions import ClosedPoolError - - from botocore.exceptions import ChecksumError - -Index: python-botocore-0.69.0/botocore/awsrequest.py -=================================================================== ---- python-botocore-0.69.0.orig/botocore/awsrequest.py 2014-11-05 09:35:21.714078645 +0900 -+++ python-botocore-0.69.0/botocore/awsrequest.py 2014-11-05 09:36:25.553245163 +0900 -@@ -19,14 +19,14 @@ +--- python-botocore-0.81.0.orig/botocore/awsrequest.py ++++ python-botocore-0.81.0/botocore/awsrequest.py +@@ -19,14 +19,14 @@ import socket import inspect - import six + from botocore.compat import six -from botocore.vendored.requests import models -from botocore.vendored.requests.sessions import REDIRECT_STATI +from requests import models @@ -69,20 +40,55 @@ Index: python-botocore-0.69.0/botocore/awsrequest.py -from botocore.vendored.requests.packages.urllib3.connectionpool import HTTPConnectionPool -from botocore.vendored.requests.packages.urllib3.connectionpool import HTTPSConnectionPool +from urllib3.connection import VerifiedHTTPSConnection -+from requests.packages.urllib3.connection import HTTPConnection -+from requests.packages.urllib3.connectionpool import HTTPConnectionPool -+from requests.packages.urllib3.connectionpool import HTTPSConnectionPool ++from urllib3.connection import HTTPConnection ++from urllib3.connectionpool import HTTPConnectionPool ++from urllib3.connectionpool import HTTPSConnectionPool logger = logging.getLogger(__name__) -Index: python-botocore-0.69.0/botocore/utils.py -=================================================================== ---- python-botocore-0.69.0.orig/botocore/utils.py 2014-11-05 09:35:21.714078645 +0900 -+++ python-botocore-0.69.0/botocore/utils.py 2014-11-05 09:36:52.764889848 +0900 -@@ -19,7 +19,7 @@ +--- python-botocore-0.81.0.orig/botocore/compat.py ++++ python-botocore-0.81.0/botocore/compat.py +@@ -16,7 +16,7 @@ import datetime + import sys + import inspect + +-from botocore.vendored import six ++import six + + + if six.PY3: +--- python-botocore-0.81.0.orig/botocore/endpoint.py ++++ python-botocore-0.81.0/botocore/endpoint.py +@@ -17,8 +17,8 @@ import logging + import time + import threading + +-from botocore.vendored.requests.sessions import Session +-from botocore.vendored.requests.utils import get_environ_proxies ++from requests.sessions import Session ++from requests.utils import get_environ_proxies + + import botocore.response + import botocore.exceptions +--- python-botocore-0.81.0.orig/botocore/retryhandler.py ++++ python-botocore-0.81.0/botocore/retryhandler.py +@@ -17,8 +17,8 @@ import functools + import logging + from binascii import crc32 + +-from botocore.vendored.requests import ConnectionError, Timeout +-from botocore.vendored.requests.packages.urllib3.exceptions import ClosedPoolError ++from requests import ConnectionError, Timeout ++from urllib3.exceptions import ClosedPoolError + + from botocore.exceptions import ChecksumError + +--- python-botocore-0.81.0.orig/botocore/utils.py ++++ python-botocore-0.81.0/botocore/utils.py +@@ -22,7 +22,7 @@ from dateutil.tz import tzlocal, tzutc from botocore.exceptions import InvalidExpressionError, ConfigNotFound - from botocore.compat import json, quote + from botocore.compat import json, quote, zip_longest -from botocore.vendored import requests +import requests from botocore.compat import OrderedDict