svn commit: r446461 - in head/www/py-requests: . files

Carlos J. Puga Medina cpm at FreeBSD.org
Sun Jul 23 09:20:09 UTC 2017


Author: cpm
Date: Sun Jul 23 09:20:08 2017
New Revision: 446461
URL: https://svnweb.freebsd.org/changeset/ports/446461

Log:
  www/py-requests: Allow urllib3 1.22 dependency
  
  - Backport an upstream patch to setup.py allowing urllib3 1.22 dependency
  - Bump PORTREVISION
  
  PR:		220927
  Submitted by:	cpm
  Reported by:	P. Chevalier<chevalier at dspnet.fr>
  Reviewed by:	jbeich, koobs
  Approved by:	koobs (maintainer)
  Obtained from:	https://github.com/requests/requests/commit/8d1228cd1943bfe89ffaae32e15b2feb3f8479f5

Modified:
  head/www/py-requests/Makefile
  head/www/py-requests/files/patch-setup.py

Modified: head/www/py-requests/Makefile
==============================================================================
--- head/www/py-requests/Makefile	Sun Jul 23 09:01:03 2017	(r446460)
+++ head/www/py-requests/Makefile	Sun Jul 23 09:20:08 2017	(r446461)
@@ -3,6 +3,7 @@
 
 PORTNAME=	requests
 PORTVERSION=	2.18.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Modified: head/www/py-requests/files/patch-setup.py
==============================================================================
--- head/www/py-requests/files/patch-setup.py	Sun Jul 23 09:01:03 2017	(r446460)
+++ head/www/py-requests/files/patch-setup.py	Sun Jul 23 09:20:08 2017	(r446461)
@@ -1,8 +1,22 @@
+From 8d1228cd1943bfe89ffaae32e15b2feb3f8479f5 Mon Sep 17 00:00:00 2001
+From: Cory Benfield <lukasaoz at gmail.com>
+Date: Thu, 20 Jul 2017 10:08:50 +0100
+Subject: [PATCH] Allow urllib3 1.22
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
 # pytest-cov and its dependencies are not compulsory
 
---- setup.py.orig	2017-06-04 15:11:40 UTC
+--- setup.py.orig	2017-06-14 17:44:15 UTC
 +++ setup.py
-@@ -45,7 +45,7 @@ requires = [
+@@ -44,11 +44,11 @@ packages = ['requests']
+ requires = [
+     'chardet>=3.0.2,<3.1.0',
+     'idna>=2.5,<2.6',
+-    'urllib3>=1.21.1,<1.22',
++    'urllib3>=1.21.1,<1.23',
      'certifi>=2017.4.17'
  
  ]


More information about the svn-ports-all mailing list