python-requests: update to 2.5.1

This commit is contained in:
Alessio Sergi 2014-12-24 13:05:50 +01:00
parent b6862c1769
commit 83a7757611
2 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@ index 439de49..7888aee 100644
-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 requests/__init__.py requests/__init__.py
index 22cd57d..b2939fa 100644
index ac2b06c..6d17c3d 100644
--- requests/__init__.py
+++ requests/__init__.py
@@ -50,7 +50,7 @@ __copyright__ = 'Copyright 2014 Kenneth Reitz'
@ -72,7 +72,7 @@ index 07e6475..2f2d79b 100644
if __name__ == '__main__':
print(where())
diff --git requests/compat.py requests/compat.py
index be5a1ed..cf866db 100644
index c07726e..d3ea9aa 100644
--- requests/compat.py
+++ requests/compat.py
@@ -4,7 +4,7 @@
@ -107,7 +107,7 @@ index 89135a8..b70c525 100644
class RequestException(IOError):
diff --git requests/models.py requests/models.py
index 2370b67..2fa653a 100644
index b728c84..ca867df 100644
--- requests/models.py
+++ requests/models.py
@@ -16,10 +16,10 @@ from .structures import CaseInsensitiveDict
@ -122,9 +122,9 @@ index 2370b67..2fa653a 100644
+from urllib3.filepost import encode_multipart_formdata
+from urllib3.util import parse_url
+from urllib3.exceptions import (
DecodeError, ReadTimeoutError, ProtocolError)
DecodeError, ReadTimeoutError, ProtocolError, LocationParseError)
from .exceptions import (
HTTPError, RequestException, MissingSchema, InvalidURL,
HTTPError, MissingSchema, InvalidURL, ChunkedEncodingError,
diff --git requests/sessions.py requests/sessions.py
index 4f30696..03a3c36 100644
--- requests/sessions.py

View File

@ -1,6 +1,6 @@
# Template file for 'python-requests'
pkgname=python-requests
version=2.5.0
version=2.5.1
revision=1
noarch=yes
wrksrc="requests-${version}"
@ -17,7 +17,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://docs.python-requests.org/en/latest/"
license="Apache-2.0"
distfiles="${PYPI_SITE}/r/requests/requests-${version}.tar.gz"
checksum=d2daef4919fc87262b8b3cb5a9d214cac8ce1e50950f8423bbc1d31c2e63d38e
checksum=7b7735efd3b1e2323dc9fcef060b380d05f5f18bd0f247f5e9e74a628279de66
pre_build() {
rm -rf requests.egg-info