From g.olgeni@colby.it  Thu Mar 15 14:34:28 2012
Return-Path: <g.olgeni@colby.it>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3B2BD1065673
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Mar 2012 14:34:28 +0000 (UTC)
	(envelope-from g.olgeni@colby.it)
Received: from mail.colby.tv (93-62-141-58.ip22.fastwebnet.it [93.62.141.58])
	by mx1.freebsd.org (Postfix) with ESMTP id ADA088FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Mar 2012 14:34:26 +0000 (UTC)
Received: from server.colby.local (localhost [127.0.0.1])
	by server.colby.local (8.14.5/8.14.5) with ESMTP id q2FEYJoQ079094;
	Thu, 15 Mar 2012 15:34:19 +0100 (CET)
	(envelope-from g.olgeni@colby.it)
Received: from exchange.colby.local ([192.168.1.11] helo=exchange.colby.local)
	with IPv4:25 by server.colby.local; 15 Mar 2012 15:34:19 +0100
Received: from backoffice.colby.local ([192.168.1.56]) by exchange.colby.local over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675);
	 Thu, 15 Mar 2012 15:34:19 +0100
Received: from backoffice.colby.local (localhost [127.0.0.1])
	by backoffice.colby.local (8.14.5/8.14.5) with ESMTP id q2FEYJjW008309;
	Thu, 15 Mar 2012 15:34:19 +0100 (CET)
	(envelope-from olgeni@backoffice.colby.local)
Received: (from olgeni@localhost)
	by backoffice.colby.local (8.14.5/8.14.5/Submit) id q2FEYJN3008308;
	Thu, 15 Mar 2012 15:34:19 +0100 (CET)
	(envelope-from olgeni)
Message-Id: <201203151434.q2FEYJN3008308@backoffice.colby.local>
Date: Thu, 15 Mar 2012 15:34:19 +0100 (CET)
From: Jimmy Olgeni <olgeni@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: duchateau.olivier@gmail.com
Subject: [PATCH] www/py-requests: update to 0.10.8
X-Send-Pr-Version: 3.113
X-GNATS-Notify: duchateau.olivier@gmail.com

>Number:         166142
>Category:       ports
>Synopsis:       [PATCH] www/py-requests: update to 0.10.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 14:40:01 UTC 2012
>Closed-Date:    Fri Mar 30 20:20:19 UTC 2012
>Last-Modified:  Fri Mar 30 20:20:19 UTC 2012
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD backoffice 9.0-STABLE FreeBSD 9.0-STABLE #0 r232857: Mon Mar 12 12:23:46 CET
>Description:
- Update to 0.10.8

I found out that 0.10.1 has some issues with encoding spaces in
URIs and this version seems to fix them.

Port maintainer (duchateau.olivier@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_4 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- py27-requests-0.10.8.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/py-requests/Makefile,v
retrieving revision 1.14
diff -u -u -r1.14 Makefile
--- Makefile	4 Mar 2012 12:56:24 -0000	1.14
+++ Makefile	15 Mar 2012 14:31:07 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	requests
-PORTVERSION=	0.10.1
+PORTVERSION=	0.10.8
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/py-requests/distinfo,v
retrieving revision 1.14
diff -u -u -r1.14 distinfo
--- distinfo	4 Mar 2012 12:56:24 -0000	1.14
+++ distinfo	15 Mar 2012 14:31:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (requests-0.10.1.tar.gz) = da6031575a30c7b65ea99465183468349b3645e6bf5322e49d53f565b27ed2b5
-SIZE (requests-0.10.1.tar.gz) = 63234
+SHA256 (requests-0.10.8.tar.gz) = bec280d924a8be87b3377ee78a976334a6e7c944a8fe09bbd9447e669b984dae
+SIZE (requests-0.10.8.tar.gz) = 62201
Index: files/patch-requests.egg-info_SOURCES.txt
===================================================================
RCS file: /home/pcvs/ports/www/py-requests/files/patch-requests.egg-info_SOURCES.txt,v
retrieving revision 1.1
diff -u -u -r1.1 patch-requests.egg-info_SOURCES.txt
--- files/patch-requests.egg-info_SOURCES.txt	4 Mar 2012 12:56:25 -0000	1.1
+++ files/patch-requests.egg-info_SOURCES.txt	15 Mar 2012 14:31:07 -0000
@@ -1,14 +1,9 @@
---- requests.egg-info/SOURCES.txt.orig	2012-01-23 07:22:50.000000000 +0000
-+++ requests.egg-info/SOURCES.txt	2012-02-07 15:14:04.000000000 +0000
-@@ -4,7 +4,6 @@
- NOTICE
- README.rst
- setup.py
--test_requests.py
- requests/__init__.py
- requests/api.py
- requests/async.py
-@@ -28,15 +27,3 @@
+
+$FreeBSD$
+
+--- requests.egg-info/SOURCES.txt.orig
++++ requests.egg-info/SOURCES.txt
+@@ -27,15 +27,3 @@
  requests/packages/oreos/core.py
  requests/packages/oreos/monkeys.py
  requests/packages/oreos/structures.py
Index: files/patch-requests_models.py
===================================================================
RCS file: /home/pcvs/ports/www/py-requests/files/patch-requests_models.py,v
retrieving revision 1.1
diff -u -u -r1.1 patch-requests_models.py
--- files/patch-requests_models.py	4 Mar 2012 12:56:25 -0000	1.1
+++ files/patch-requests_models.py	15 Mar 2012 14:31:07 -0000
@@ -1,8 +1,11 @@
---- requests/models.py.orig	2011-12-28 09:56:17.000000000 +0100
-+++ requests/models.py	2012-01-12 17:54:01.000000000 +0100
-@@ -19,12 +19,12 @@
+
+$FreeBSD$
+
+--- requests/models.py.orig
++++ requests/models.py
+@@ -15,12 +15,12 @@
  from .status_codes import codes
- from .packages import oreos
+ 
  from .auth import HTTPBasicAuth, HTTPProxyAuth
 -from .packages.urllib3.response import HTTPResponse
 -from .packages.urllib3.exceptions import MaxRetryError
@@ -16,6 +19,6 @@
 +from urllib3.exceptions import HTTPError as _HTTPError
 +from urllib3 import connectionpool, poolmanager
 +from urllib3.filepost import encode_multipart_formdata
+ from .defaults import SCHEMAS
  from .exceptions import (
      ConnectionError, HTTPError, RequestException, Timeout, TooManyRedirects,
-     URLRequired, SSLError)
Index: files/patch-setup.py
===================================================================
RCS file: /home/pcvs/ports/www/py-requests/files/patch-setup.py,v
retrieving revision 1.1
diff -u -u -r1.1 patch-setup.py
--- files/patch-setup.py	4 Mar 2012 12:56:25 -0000	1.1
+++ files/patch-setup.py	15 Mar 2012 14:31:07 -0000
@@ -1,46 +1,38 @@
---- setup.py.orig	2012-01-23 06:48:28.000000000 +0000
-+++ setup.py	2012-02-07 16:11:32.000000000 +0000
-@@ -4,10 +4,9 @@
+
+$FreeBSD$
+
+--- setup.py.orig
++++ setup.py
+@@ -4,7 +4,6 @@
  import os
  import sys
  import requests
--from requests.compat import is_py3
+-from requests.compat import is_py3, is_py2
  
  try:
--    from setuptools import setup
-+    from setuptools import setup, find_packages
- except ImportError:
-     from distutils.core import setup
- 
-@@ -21,12 +20,8 @@
+     from setuptools import setup
+@@ -21,22 +20,13 @@
      os.system('python test_requests.py')
      sys.exit()
  
 -required = ['certifi>=0.0.7',]
--
+ packages = [
+     'requests',
+     'requests.packages',
+-    'requests.packages.urllib3',
+-    'requests.packages.urllib3.packages',
+-    'requests.packages.urllib3.packages.ssl_match_hostname',
+-    'requests.packages.urllib3.packages.mimetools_choose_boundary',
+ ]
+ 
 -if is_py3:
 -    required.append('chardet2')
 -else:
 -    required.append('chardet>=1.0.0')
+-    packages.append('requests.packages.oreos')
+-
 +# FreeBSD ports tree, provides only chardet2
 +required = ['certifi>=0.0.7', 'chardet2>=1.0.0']
  
- 
  setup(
-@@ -38,15 +33,7 @@
-     author='Kenneth Reitz',
-     author_email='me@kennethreitz.com',
-     url='http://python-requests.org',
--    packages=[
--        'requests',
--        'requests.packages',
--        'requests.packages.urllib3',
--        'requests.packages.urllib3.packages',
--        'requests.packages.urllib3.packages.ssl_match_hostname',
--        'requests.packages.urllib3.packages.mimetools_choose_boundary',
--        'requests.packages.oreos'
--    ],
-+    packages=find_packages(where='.', exclude=['requests.packages.url*']),
-     package_data={'': ['LICENSE', 'NOTICE']},
-     include_package_data=True,
-     install_requires=required,
+     name='requests',
--- py27-requests-0.10.8.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Mar 15 14:40:12 UTC 2012 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166142 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Mar 15 14:40:16 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166142 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: duchateau.olivier@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/166142: [PATCH] www/py-requests: update to 0.10.8
Date: Thu, 15 Mar 2012 14:40:14 UT

 Maintainer of www/py-requests,
 
 Please note that PR ports/166142 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166142
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Olivier Duchateau <duchateau.olivier@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/166142: [PATCH] www/py-requests: update to 0.10.8
Date: Tue, 20 Mar 2012 07:08:33 +0100

 Thank you for your work.
 
 It's ok, but I prefer to use find_packages in setup.py file.
 Furthemore, requests work with Python 3.x, so I adjusted Makefile.
 
 Update, with improvement, http://www.freebsd.org/cgi/query-pr.cgi?pr=3D1662=
 52
 
 2012/3/15 Edwin Groothuis <edwin@freebsd.org>:
 > Maintainer of www/py-requests,
 >
 > Please note that PR ports/166142 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 > =A0 =A0http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/166142
 >
 > --
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 
 
 
 --=20
 olivier
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Tue Mar 20 14:47:04 UTC 2012 
State-Changed-Why:  
Maintainer has replied but with different solution. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166142 

From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: Olivier Duchateau <duchateau.olivier@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/166142: [PATCH] www/py-requests: update to 0.10.8
Date: Sun, 25 Mar 2012 18:34:14 +0400

 Olivier Duchateau wrote on 20.03.2012 10:10:
 > The following reply was made to PR ports/166142; it has been noted by GNATS.
 >
 > From: Olivier Duchateau<duchateau.olivier@gmail.com>
 > To: bug-followup@freebsd.org
 > Cc:
 > Subject: Re: ports/166142: [PATCH] www/py-requests: update to 0.10.8
 > Date: Tue, 20 Mar 2012 07:08:33 +0100
 >
 >   Thank you for your work.
 >
 >   It's ok, but I prefer to use find_packages in setup.py file.
 >   Furthemore, requests work with Python 3.x, so I adjusted Makefile.
 >
 >   Update, with improvement, http://www.freebsd.org/cgi/query-pr.cgi?pr=3D1662=
 >   52
 
 Please note, that chardet2 is python3 only.
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.

From: Olivier Duchateau <duchateau.olivier@gmail.com>
To: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Cc: bug-followup <bug-followup@freebsd.org>
Subject: Re: ports/166142: [PATCH] www/py-requests: update to 0.10.8
Date: Mon, 26 Mar 2012 18:53:17 +0200

 2012/3/25 Ruslan Mahmatkhanov <cvs-src@yandex.ru>:
 > Olivier Duchateau wrote on 20.03.2012 10:10:
 >>
 >> The following reply was made to PR ports/166142; it has been noted by
 >> GNATS.
 >>
 >> From: Olivier Duchateau<duchateau.olivier@gmail.com>
 >> To: bug-followup@freebsd.org
 >> Cc:
 >> Subject: Re: ports/166142: [PATCH] www/py-requests: update to 0.10.8
 >> Date: Tue, 20 Mar 2012 07:08:33 +0100
 >>
 >>
 >> =A0Thank you for your work.
 >>
 >> =A0It's ok, but I prefer to use find_packages in setup.py file.
 >> =A0Furthemore, requests work with Python 3.x, so I adjusted Makefile.
 >>
 >> =A0Update, with improvement,
 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D3D1662=3D
 >> =A052
 >
 >
 > Please note, that chardet2 is python3 only.
 
 I known, but ports tree provide only chardet 2.0.1, I don't encounter
 problem with Python 2.7. Despite PyPI says "Python 3".
 
 >
 > --
 > Regards,
 > Ruslan
 >
 > Tinderboxing kills... the drives.
 
 
 
 --=20
 olivier
State-Changed-From-To: open->closed 
State-Changed-By: olgeni 
State-Changed-When: Fri Mar 30 20:19:56 UTC 2012 
State-Changed-Why:  
Superseded by ports/166252. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166142 
>Unformatted:
