[Python-modules-commits] r29210 - in packages/requests/trunk/debian (5 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Wed Jun 4 14:34:40 UTC 2014
Date: Wednesday, June 4, 2014 @ 14:34:39
Author: barry
Revision: 29210
* Team upload.
* New upstream release.
* d/patches/*: Refreshed.
* d/control: Added python{,3}-pytest to Build-Depends.
* d/rules: Fixed running of test suite during package build.
Modified:
packages/requests/trunk/debian/changelog
packages/requests/trunk/debian/control
packages/requests/trunk/debian/patches/01_use-system-ca-certificates.patch
packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch
packages/requests/trunk/debian/rules
Modified: packages/requests/trunk/debian/changelog
===================================================================
--- packages/requests/trunk/debian/changelog 2014-06-04 14:32:13 UTC (rev 29209)
+++ packages/requests/trunk/debian/changelog 2014-06-04 14:34:39 UTC (rev 29210)
@@ -1,3 +1,13 @@
+requests (2.3.0-1) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * d/patches/*: Refreshed.
+ * d/control: Added python{,3}-pytest to Build-Depends.
+ * d/rules: Fixed running of test suite during package build.
+
+ -- Barry Warsaw <barry at debian.org> Wed, 04 Jun 2014 10:16:13 -0400
+
requests (2.2.1-3) unstable; urgency=medium
* Team upload.
Modified: packages/requests/trunk/debian/control
===================================================================
--- packages/requests/trunk/debian/control 2014-06-04 14:32:13 UTC (rev 29209)
+++ packages/requests/trunk/debian/control 2014-06-04 14:34:39 UTC (rev 29210)
@@ -7,10 +7,12 @@
dh-python,
python-all (>= 2.6.6-3),
python-chardet,
+ python-pytest,
python-setuptools,
python-urllib3 (>= 1.7.1),
python3-all,
python3-chardet,
+ python3-pytest,
python3-setuptools,
python3-urllib3 (>= 1.7.1),
python3-wheel
Modified: packages/requests/trunk/debian/patches/01_use-system-ca-certificates.patch
===================================================================
--- packages/requests/trunk/debian/patches/01_use-system-ca-certificates.patch 2014-06-04 14:32:13 UTC (rev 29209)
+++ packages/requests/trunk/debian/patches/01_use-system-ca-certificates.patch 2014-06-04 14:34:39 UTC (rev 29210)
@@ -4,8 +4,8 @@
Forwarded: not-needed
Last-Update: 2013-01-19
---- a/requests/certs.py 2013-04-25 22:54:02.000000000 +0000
-+++ b/requests/certs.py 2013-04-25 22:54:34.000000000 +0000
+--- a/requests/certs.py
++++ b/requests/certs.py
@@ -18,7 +18,7 @@
def where():
"""Return the preferred certificate bundle."""
@@ -17,7 +17,7 @@
print(where())
--- a/setup.py
+++ b/setup.py
-@@ -35,7 +35,7 @@
+@@ -41,7 +41,7 @@
author_email='me at kennethreitz.com',
url='http://python-requests.org',
packages=packages,
Modified: packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch
===================================================================
--- packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch 2014-06-04 14:32:13 UTC (rev 29209)
+++ packages/requests/trunk/debian/patches/02_use-system-chardet-and-urllib3.patch 2014-06-04 14:34:39 UTC (rev 29210)
@@ -18,7 +18,7 @@
+from urllib3.util import Timeout as TimeoutSauce
from .compat import urlparse, basestring, urldefrag, unquote
from .utils import (DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers,
- except_on_missing_scheme, get_auth_from_url)
+ prepend_scheme_if_needed, get_auth_from_url)
from .structures import CaseInsensitiveDict
-from .packages.urllib3.exceptions import MaxRetryError
-from .packages.urllib3.exceptions import TimeoutError
@@ -55,7 +55,7 @@
builtin_str = str
--- a/requests/models.py
+++ b/requests/models.py
-@@ -17,10 +17,10 @@
+@@ -16,10 +16,10 @@
from .auth import HTTPBasicAuth
from .cookies import cookiejar_from_dict, get_cookie_header
@@ -72,7 +72,7 @@
ChunkedEncodingError, ContentDecodingError)
--- a/setup.py
+++ b/setup.py
-@@ -16,12 +16,6 @@
+@@ -16,13 +16,6 @@
packages = [
'requests',
@@ -81,7 +81,8 @@
- 'requests.packages.urllib3',
- 'requests.packages.urllib3.packages',
- 'requests.packages.urllib3.contrib',
-- 'requests.packages.urllib3.packages.ssl_match_hostname'
+- 'requests.packages.urllib3.util',
+- 'requests.packages.urllib3.packages.ssl_match_hostname',
]
requires = []
Modified: packages/requests/trunk/debian/rules
===================================================================
--- packages/requests/trunk/debian/rules 2014-06-04 14:32:13 UTC (rev 29209)
+++ packages/requests/trunk/debian/rules 2014-06-04 14:34:39 UTC (rev 29210)
@@ -5,6 +5,12 @@
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="{interpreter} test_requests.py" \
+ http_proxy= https_proxy= \
+ dh_auto_test
+
override_dh_installchangelogs:
dh_installchangelogs HISTORY.rst
More information about the Python-modules-commits
mailing list