[arch-commits] Commit in python-requests/trunk (PKGBUILD certs.patch)

Massimiliano Torromeo mtorromeo at archlinux.org
Thu Sep 4 07:22:47 UTC 2014


    Date: Thursday, September 4, 2014 @ 09:22:47
  Author: mtorromeo
Revision: 118233

upgpkg: python-requests 2.4.0-2

Remove certifi hard-dependency

Modified:
  python-requests/trunk/PKGBUILD
  python-requests/trunk/certs.patch

-------------+
 PKGBUILD    |    4 ++--
 certs.patch |   13 +++++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-04 01:02:19 UTC (rev 118232)
+++ PKGBUILD	2014-09-04 07:22:47 UTC (rev 118233)
@@ -4,7 +4,7 @@
 pkgbase=python-requests
 pkgname=(python-requests python2-requests)
 pkgver=2.4.0
-pkgrel=1
+pkgrel=2
 _libname=requests
 pkgdesc="Python HTTP for Humans."
 url="http://python-requests.org"
@@ -15,7 +15,7 @@
         certs.patch
         226b5c7b0aafc3cb744eb79a666d9a1bd0803a47.patch)
 sha256sums=('7007e03cbc73e357b5055c6ea0ad6e447e2afa00f1a1f843cd792a1ebaa3763e'
-            'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7'
+            '23bbd144905192edb23082c017292356eedbb3b41856c2a46505a2acb4ace831'
             '45cbe79fcf452eebb93444de7b78b35c679a77f268ea7286f5899bdb9ea7153a')
 
 prepare() {

Modified: certs.patch
===================================================================
--- certs.patch	2014-09-04 01:02:19 UTC (rev 118232)
+++ certs.patch	2014-09-04 07:22:47 UTC (rev 118233)
@@ -11,3 +11,16 @@
  
  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()




More information about the arch-commits mailing list