aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 13:41:44 -0700
committerSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 13:41:44 -0700
commit49acd6bb4f0fab20670811f689805462693366c8 (patch)
treeacacb050fb66bf52d192ac2f7b5d32efa4685979 /debian
parent200f31df4c8741096e4e644de4f4f60cd8707493 (diff)
parentbf94fe6ca734a95614c33473cad145323d3495d3 (diff)
downloadpython-requests-49acd6bb4f0fab20670811f689805462693366c8.tar
python-requests-49acd6bb4f0fab20670811f689805462693366c8.tar.gz
Initialize git-dpm
Diffstat (limited to 'debian')
-rw-r--r--debian/.git-dpm8
-rw-r--r--debian/patches/01_use-system-ca-certificates.patch34
-rw-r--r--debian/patches/03_export-IncompleteRead.patch18
-rw-r--r--debian/patches/05_upstream_devendorize.patch11
4 files changed, 54 insertions, 17 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..5505bf5
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,8 @@
+# see git-dpm(1) from git-dpm package
+bf94fe6ca734a95614c33473cad145323d3495d3
+bf94fe6ca734a95614c33473cad145323d3495d3
+b4a5af4fcbf4e5d0f741aaf9978c728235b11a56
+b4a5af4fcbf4e5d0f741aaf9978c728235b11a56
+requests_2.7.0.orig.tar.gz
+6db8805632521a13789161bccb14f761672ec46f
+451723
diff --git a/debian/patches/01_use-system-ca-certificates.patch b/debian/patches/01_use-system-ca-certificates.patch
index b5cfeec..0a503bc 100644
--- a/debian/patches/01_use-system-ca-certificates.patch
+++ b/debian/patches/01_use-system-ca-certificates.patch
@@ -1,12 +1,31 @@
-Description: Use the bundle provided by ca-certificates instead of
+From 3345f5ca045c5cb0a2f55ad39244c5ad37ce385e Mon Sep 17 00:00:00 2001
+From: Daniele Tricoli <eriol@mornie.org>
+Date: Thu, 8 Oct 2015 13:41:42 -0700
+Subject: Use the bundle provided by ca-certificates instead of
+
the embedded one.
-Author: Daniele Tricoli <eriol@mornie.org>
Forwarded: not-needed
Last-Update: 2014-10-08
+Patch-Name: 01_use-system-ca-certificates.patch
+---
+ MANIFEST.in | 2 +-
+ requests/certs.py | 4 ++--
+ setup.py | 2 +-
+ 3 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/MANIFEST.in b/MANIFEST.in
+index 439de49..7888aee 100644
+--- a/MANIFEST.in
++++ b/MANIFEST.in
+@@ -1 +1 @@
+-include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem
++include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt
+diff --git a/requests/certs.py b/requests/certs.py
+index 07e6475..e61ee5d 100644
--- a/requests/certs.py
+++ b/requests/certs.py
-@@ -18,8 +18,8 @@
+@@ -18,8 +18,8 @@ try:
except ImportError:
def where():
"""Return the preferred certificate bundle."""
@@ -17,9 +36,11 @@ Last-Update: 2014-10-08
if __name__ == '__main__':
print(where())
+diff --git a/setup.py b/setup.py
+index f98f528..eb444f1 100755
--- a/setup.py
+++ b/setup.py
-@@ -50,7 +50,7 @@
+@@ -50,7 +50,7 @@ setup(
author_email='me@kennethreitz.com',
url='http://python-requests.org',
packages=packages,
@@ -28,8 +49,3 @@ Last-Update: 2014-10-08
package_dir={'requests': 'requests'},
include_package_data=True,
install_requires=requires,
---- a/MANIFEST.in
-+++ b/MANIFEST.in
-@@ -1 +1 @@
--include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem
-+include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt
diff --git a/debian/patches/03_export-IncompleteRead.patch b/debian/patches/03_export-IncompleteRead.patch
index 82938eb..4f8ff15 100644
--- a/debian/patches/03_export-IncompleteRead.patch
+++ b/debian/patches/03_export-IncompleteRead.patch
@@ -1,13 +1,23 @@
-Description: Export IncompleteRead from requests.compat since it's
+From 063c9ec0a3d27a0ca437c0b8dba5ea17e2a032ef Mon Sep 17 00:00:00 2001
+From: Daniele Tricoli <eriol@mornie.org>
+Date: Thu, 8 Oct 2015 13:41:43 -0700
+Subject: Export IncompleteRead from requests.compat since it's
+
imported by python-pip.
-Author: Daniele Tricoli <eriol@mornie.org>
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/766419
Last-Update: 2014-10-23
+Patch-Name: 03_export-IncompleteRead.patch
+---
+ requests/compat.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/requests/compat.py b/requests/compat.py
+index 70edff7..a338846 100644
--- a/requests/compat.py
+++ b/requests/compat.py
-@@ -40,6 +40,7 @@
+@@ -40,6 +40,7 @@ if is_py2:
from Cookie import Morsel
from StringIO import StringIO
from .packages.urllib3.packages.ordered_dict import OrderedDict
@@ -15,7 +25,7 @@ Last-Update: 2014-10-23
builtin_str = str
bytes = str
-@@ -54,6 +55,7 @@
+@@ -54,6 +55,7 @@ elif is_py3:
from http.cookies import Morsel
from io import StringIO
from collections import OrderedDict
diff --git a/debian/patches/05_upstream_devendorize.patch b/debian/patches/05_upstream_devendorize.patch
index 2a4a9d5..1c5750f 100644
--- a/debian/patches/05_upstream_devendorize.patch
+++ b/debian/patches/05_upstream_devendorize.patch
@@ -1,13 +1,16 @@
-From b7fc3a1250cb13ed3b55010ccc33f2681f0ffa4a Mon Sep 17 00:00:00 2001
+From bf94fe6ca734a95614c33473cad145323d3495d3 Mon Sep 17 00:00:00 2001
From: Markus Unterwaditzer <markus@unterwaditzer.net>
Date: Fri, 24 Apr 2015 12:05:18 +0200
-Subject: [PATCH 1/2] Import aliases for Debian
+Subject: Import aliases for Debian
Alternative to #2375
+Patch-Name: 05_upstream_devendorize.patch
---
- requests/packages/__init__.py | 13 ++++++++++++-
- 1 file changed, 12 insertions(+), 1 deletion(-)
+ requests/packages/__init__.py | 35 ++++++++++++++++++++++++++++++++++-
+ 1 file changed, 34 insertions(+), 1 deletion(-)
+diff --git a/requests/packages/__init__.py b/requests/packages/__init__.py
+index d62c4b7..971c2ad 100644
--- a/requests/packages/__init__.py
+++ b/requests/packages/__init__.py
@@ -1,3 +1,36 @@