diff options
author | Daniele Tricoli <eriol@mornie.org> | 2012-05-04 12:35:25 +0000 |
---|---|---|
committer | Daniele Tricoli <eriol@mornie.org> | 2012-05-04 12:35:25 +0000 |
commit | f2020cb4ca067dd3d35bc900924c809ba563528b (patch) | |
tree | ec276401e0684de1de14a1f15b9c12ff45888efc /debian | |
parent | f8fa49732b8efdc5e0ed455a0734aa9cb7bdd13c (diff) | |
download | python-requests-f2020cb4ca067dd3d35bc900924c809ba563528b.tar python-requests-f2020cb4ca067dd3d35bc900924c809ba563528b.tar.gz |
Refreshed debian/patches/01_do-not-use-python-certifi.patch
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | debian/patches/01_do-not-use-python-certifi.patch | 21 |
2 files changed, 13 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog index 02e7076..80f211a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ requests (0.12.0-1) unstable; urgency=low * New upstream release + * debian/patches/01_do-not-use-python-certifi.patch + - Refreshed - -- Daniele Tricoli <eriol@mornie.org> Fri, 04 May 2012 13:09:09 +0200 + -- Daniele Tricoli <eriol@mornie.org> Fri, 04 May 2012 14:34:47 +0200 requests (0.11.2-1) unstable; urgency=low diff --git a/debian/patches/01_do-not-use-python-certifi.patch b/debian/patches/01_do-not-use-python-certifi.patch index 5873743..74fb4d0 100644 --- a/debian/patches/01_do-not-use-python-certifi.patch +++ b/debian/patches/01_do-not-use-python-certifi.patch @@ -1,18 +1,17 @@ Description: To verify SSL certificates for HTTPS requests, use the bundle - provided by ca-certificates instead of python-certifi. Since requests 0.11.2 - it is not needed to hard-code bundle path because requests will search for it. + provided by ca-certificates instead of python-certifi. Author: Daniele Tricoli <eriol@mornie.org> Forwarded: not-needed -Last-Update: 2012-04-23 +Last-Update: 2012-05-04 --- a/setup.py +++ b/setup.py -@@ -21,7 +21,7 @@ - os.system('python tests/test_requests.py') - sys.exit() +@@ -32,7 +32,7 @@ + # On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can + # use the system CA bundle instead; see `requests.utils` for details. + # If your platform is supported, set `requires` to [] instead: +-requires = ['certifi>=0.0.7'] ++requires = [] --required = ['certifi>=0.0.7',] -+required = [] - packages = [ - 'requests', - 'requests.packages', + # chardet is used to optimally guess the encodings of pages that don't declare one. + # At this time, chardet is not a required dependency. However, it's sufficiently |