ports/171114: [MAINTAINER] www/py-requests: update to 0.13.9
Kubilay Kocak
koobs.freebsd at gmail.com
Mon Aug 27 11:50:02 UTC 2012
>Number: 171114
>Category: ports
>Synopsis: [MAINTAINER] www/py-requests: update to 0.13.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 27 11:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Kubilay Kocak
>Release: FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul 7 21:26:56 EST
>Description:
- Update to 0.13.9
- Patch setup.py to hook in test suite
- Add test: target for running unit tests
Changes: https://github.com/kennethreitz/requests/blob/v0.13.9/HISTORY.rst
- 0.13.9 (2012-08-25)
Fix for OAuth + POSTs
Remove exception eating from dispatch_hook.
General bugfixes
- 0.13.8 (2012-08-21)
Incredible Link header support :)
==[QA]==
port test clean: looks fine.
redports clean: https://redports.org/buildarchive/20120827112631-90873/
unit test clean: Ran 102 tests in 213.949s - OK
Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:
--- py27-requests-0.13.9.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/py-requests/Makefile ./Makefile
--- /usr/ports/www/py-requests/Makefile 2012-08-24 22:16:25.000000000 +1000
+++ ./Makefile 2012-08-27 21:20:21.000000000 +1000
@@ -2,11 +2,11 @@
# Date created: 2011-07-30
# Whom: Olivier Duchateau <duchateau.olivier at gmail.com>
#
-# $FreeBSD: ports/www/py-requests/Makefile,v 1.20 2012/08/24 12:16:25 culot Exp $
+# $FreeBSD: ports/www/py-requests/Makefile,v 1.18 2012/07/28 17:25:24 rm Exp $
#
PORTNAME= requests
-PORTVERSION= 0.13.7
+PORTVERSION= 0.13.9
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,4 +22,8 @@
USE_PYTHON= -3.1
USE_PYDISTUTILS= easy_install
+test: build
+ ${TOUCH} ${WRKSRC}/tests/__init__.py
+ cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/www/py-requests/distinfo ./distinfo
--- /usr/ports/www/py-requests/distinfo 2012-08-24 22:16:25.000000000 +1000
+++ ./distinfo 2012-08-27 19:20:43.000000000 +1000
@@ -1,2 +1,2 @@
-SHA256 (requests-0.13.7.tar.gz) = d9c6cf2890a0dc1200407f99130d334ef5ab5270bed3d9b4c14b0bb9c6cc3400
-SIZE (requests-0.13.7.tar.gz) = 521660
+SHA256 (requests-0.13.9.tar.gz) = d887bb1c06948a8930d6e73a1f942f9febe9157a299a984994c20c84b2c21e20
+SIZE (requests-0.13.9.tar.gz) = 522477
diff -ruN --exclude=CVS /usr/ports/www/py-requests/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/www/py-requests/files/patch-setup.py 2012-07-29 03:25:24.000000000 +1000
+++ ./files/patch-setup.py 2012-08-27 20:44:05.000000000 +1000
@@ -1,5 +1,5 @@
---- ./setup.py.orig 2012-07-27 17:22:56.000000000 +1000
-+++ ./setup.py 2012-07-28 10:46:43.000000000 +1000
+--- ./setup.py.orig 2012-08-06 16:46:03.000000000 +1000
++++ ./setup.py 2012-08-27 20:38:32.000000000 +1000
@@ -15,8 +15,6 @@
os.system('python setup.py sdist upload')
sys.exit()
@@ -29,9 +29,10 @@
install_requires=requires,
license=open('LICENSE').read(),
classifiers=(
-@@ -66,4 +60,5 @@
+@@ -66,4 +60,6 @@
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
),
+ zip_safe=False,
++ test_suite='tests',
)
--- py27-requests-0.13.9.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list