Date: Wednesday, September 10, 2014 @ 11:37:11 Author: mtorromeo Revision: 118758
upgpkg: python-requests 2.4.1-1 Updated to 2.4.1 Modified: python-requests/trunk/PKGBUILD python-requests/trunk/certs.patch Deleted: python-requests/trunk/226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch ------------------------------------------------+ 226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch | 34 ----------------------- PKGBUILD | 13 +++----- certs.patch | 13 -------- 3 files changed, 5 insertions(+), 55 deletions(-) Deleted: 226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch =================================================================== --- 226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch 2014-09-10 09:37:09 UTC (rev 118757) +++ 226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch 2014-09-10 09:37:11 UTC (rev 118758) @@ -1,34 +0,0 @@ -From 226b5c7b0aafc3cb744eb79a666d9a1bd0803a47 Mon Sep 17 00:00:00 2001 -From: Massimiliano Torromeo <[email protected]> -Date: Wed, 3 Sep 2014 09:40:27 +0200 -Subject: [PATCH] Open README and HISTORY as utf-8 encoded files (fixes #2196) - ---- - setup.py | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 9540a47..e39d13b 100755 ---- a/setup.py -+++ b/setup.py -@@ -5,6 +5,8 @@ - - import requests - -+from codecs import open -+ - try: - from setuptools import setup - except ImportError: -@@ -27,9 +29,9 @@ - - requires = ['certifi'] - --with open('README.rst') as f: -+with open('README.rst', 'r', 'utf-8') as f: - readme = f.read() --with open('HISTORY.rst') as f: -+with open('HISTORY.rst', 'r', 'utf-8') as f: - history = f.read() - - setup( Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-09-10 09:37:09 UTC (rev 118757) +++ PKGBUILD 2014-09-10 09:37:11 UTC (rev 118758) @@ -3,8 +3,8 @@ pkgbase=python-requests pkgname=(python-requests python2-requests) -pkgver=2.4.0 -pkgrel=2 +pkgver=2.4.1 +pkgrel=1 _libname=requests pkgdesc="Python HTTP for Humans." url="http://python-requests.org" @@ -12,16 +12,13 @@ license=('Apache') arch=('any') source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz - certs.patch - 226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch) -sha256sums=('7007e03cbc73e357b5055c6ea0ad6e447e2afa00f1a1f843cd792a1ebaa3763e' - '23bbd144905192edb23082c017292356eedbb3b41856c2a46505a2acb4ace831' - '45cbe79fcf452eebb93444de7b78b35c679a77f268ea7286f5899bdb9ea7153a') + certs.patch) +sha256sums=('35d890b0aaa6e09ec40d49361d823b998ced86cc7673a9ce70bbc4f986e13ad8' + 'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') prepare() { cd "$srcdir"/$_libname-$pkgver patch -p1 -i "$srcdir"/certs.patch - patch -p1 -i "$srcdir"/226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in rm -f requests/cacert.pem } Modified: certs.patch =================================================================== --- certs.patch 2014-09-10 09:37:09 UTC (rev 118757) +++ certs.patch 2014-09-10 09:37:11 UTC (rev 118758) @@ -11,16 +11,3 @@ if __name__ == '__main__': print(where()) -diff --git a/setup.py b/setup.py -index e39d13b..3b86d3c 100755 ---- a/setup.py -+++ b/setup.py -@@ -27,7 +27,7 @@ packages = [ - 'requests.packages.urllib3.packages.ssl_match_hostname', - ] - --requires = ['certifi'] -+requires = [] - - with open('README.rst', 'r', 'utf-8') as f: - readme = f.read()
