aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAlessandro Sagratini <ale_sagra@hotmail.com>2021-10-31 17:14:03 +0000
committerYasuhiro Kimura <yasu@FreeBSD.org>2021-12-01 23:49:13 +0000
commitb0a0ddad272a2804bc73068635128f15dedecec8 (patch)
treeb26ea0b0f4735eb7cedd3b120e69d5316f4d322b /devel
parentc245c14989be9bbb339646c9bc7ed5895f9402a4 (diff)
downloadports-b0a0ddad272a2804bc73068635128f15dedecec8.tar.gz
ports-b0a0ddad272a2804bc73068635128f15dedecec8.zip
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
Diffstat (limited to 'devel')
-rw-r--r--devel/py-circuitbreaker/Makefile9
-rw-r--r--devel/py-circuitbreaker/distinfo6
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