Date: Sat, 12 Mar 2022 10:32:34 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 47bdb92ba3e3 - main - www/py-grequests: Update version 0.3.0=>0.6.0 Message-ID: <202203121032.22CAWYSp036754@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=47bdb92ba3e361b3c6710dfb9fcbfb2b6fba281a commit 47bdb92ba3e361b3c6710dfb9fcbfb2b6fba281a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-03-09 15:48:55 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-03-12 10:32:29 +0000 www/py-grequests: Update version 0.3.0=>0.6.0 Relnotes: https://github.com/spyoungtech/grequests/releases/tag/v0.6.0 --- www/py-grequests/Makefile | 5 ++--- www/py-grequests/distinfo | 5 +++-- www/py-grequests/files/patch-2ffb8088 | 33 --------------------------------- 3 files changed, 5 insertions(+), 38 deletions(-) diff --git a/www/py-grequests/Makefile b/www/py-grequests/Makefile index 194977737c39..02332d4641c6 100644 --- a/www/py-grequests/Makefile +++ b/www/py-grequests/Makefile @@ -1,7 +1,7 @@ # Created by: Kubilay Kocak <koobs@FreeBSD.org> PORTNAME= grequests -PORTVERSION= 0.3.0 +PORTVERSION= 0.6.0 DISTVERSIONPREFIX= v CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,10 +16,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>0:devel/py-gevent@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} +USES= python:3.6+ USE_GITHUB= yes GH_ACCOUNT= kennethreitz - -USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/www/py-grequests/distinfo b/www/py-grequests/distinfo index c500d677d5da..80e4cd767d5c 100644 --- a/www/py-grequests/distinfo +++ b/www/py-grequests/distinfo @@ -1,2 +1,3 @@ -SHA256 (kennethreitz-grequests-v0.3.0_GH0.tar.gz) = 9c53602bb15d02881d1e0bfa12d58ba53fc9741e8c9e68ad1249b8e9097fa3be -SIZE (kennethreitz-grequests-v0.3.0_GH0.tar.gz) = 5449 +TIMESTAMP = 1646761363 +SHA256 (kennethreitz-grequests-v0.6.0_GH0.tar.gz) = 8c4a7c004d6f01a44bb84069043b1d266228af238a4d4f2ea6f6bbdd4c37ee0e +SIZE (kennethreitz-grequests-v0.6.0_GH0.tar.gz) = 6795 diff --git a/www/py-grequests/files/patch-2ffb8088 b/www/py-grequests/files/patch-2ffb8088 deleted file mode 100644 index 13baf85e37f1..000000000000 --- a/www/py-grequests/files/patch-2ffb8088 +++ /dev/null @@ -1,33 +0,0 @@ -From 2ffb8088f24039aabef574b2680cb373fdb4604a Mon Sep 17 00:00:00 2001 -From: Yuri Prezument <y@yprez.com> -Date: Tue, 23 Feb 2016 13:05:14 +0200 -Subject: [PATCH] Remove failing test - -Remove test_map_timeout_exception_handler_returns_false() test. -The functionality for this was removed in https://github.com/kennethreitz/grequests/commit/394cc ---- - tests.py | 11 ----------- - 1 file changed, 11 deletions(-) - -diff --git a/tests.py b/tests.py -index b3789e3..2b4ef0f 100644 ---- tests.py -+++ tests.py -@@ -130,17 +130,6 @@ def test_map_timeout_no_exception_handler(self): - self.assertTrue(responses[1].ok) - self.assertEqual(len(responses), 2) - -- def test_map_timeout_exception_handler_returns_false(self): -- """ -- if you don't want your exceptions to show up in the map result -- """ -- def exception_handler(request, exception): -- return False -- reqs = [grequests.get(httpbin('delay/1'), timeout=0.001), grequests.get(httpbin('/'))] -- responses = grequests.map(reqs, exception_handler=exception_handler) -- self.assertTrue(responses[0].ok) -- self.assertEqual(len(responses), 1) -- - def test_map_timeout_exception_handler_no_return(self): - """ - ensure default behaviour for a handler that returns None
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203121032.22CAWYSp036754>