git: b0a0ddad272a - main - devel/py-circuitbreaker: Update to 1.3.2

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Wed, 01 Dec 2021 23:49:44 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b0a0ddad272a2804bc73068635128f15dedecec8

commit b0a0ddad272a2804bc73068635128f15dedecec8
Author:     Alessandro Sagratini <ale_sagra@hotmail.com>
AuthorDate: 2021-10-31 17:14:03 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-12-01 23:49:13 +0000

    devel/py-circuitbreaker: Update to 1.3.2
    
    * Update range of Python
    * Add missing devel/py-mock to TEST_DEPENDS
    * Switch to DISTVERSION
    
    Changes:        https://github.com/fabfuel/circuitbreaker/commits/1.3.2
    PR:             259579
---
 devel/py-circuitbreaker/Makefile | 9 +++++----
 devel/py-circuitbreaker/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/devel/py-circuitbreaker/Makefile b/devel/py-circuitbreaker/Makefile
index f37bc295b131..719121486ce6 100644
--- a/devel/py-circuitbreaker/Makefile
+++ b/devel/py-circuitbreaker/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	circuitbreaker
-PORTVERSION=	1.3.1
+DISTVERSION=	1.3.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,9 +10,10 @@ COMMENT=	Python Circuit Breaker pattern implementation
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.6-3.9
 USE_PYTHON=	autoplist concurrent distutils
 
 TEST_TARGET=	test
@@ -20,6 +21,6 @@ TEST_TARGET=	test
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v -o addopts=
 
 .include <bsd.port.mk>
diff --git a/devel/py-circuitbreaker/distinfo b/devel/py-circuitbreaker/distinfo
index 5c76141351ab..f8b947f6eebc 100644
--- a/devel/py-circuitbreaker/distinfo
+++ b/devel/py-circuitbreaker/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634730666
-SHA256 (circuitbreaker-1.3.1.tar.gz) = 1b2d01cd5d02ddb248e1e4d34c1e9d4ee8ebef1d0b8e648b514c936a90df4f7d
-SIZE (circuitbreaker-1.3.1.tar.gz) = 6032
+TIMESTAMP = 1635700212
+SHA256 (circuitbreaker-1.3.2.tar.gz) = 747d4ced5c0797e2ab1d3e00a03b312db23e7ec65106148fc63beec25bbba50f
+SIZE (circuitbreaker-1.3.2.tar.gz) = 7946