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
This commit is contained in:
Alessandro Sagratini 2021-11-01 02:14:03 +09:00 committed by Yasuhiro Kimura
parent c245c14989
commit b0a0ddad27
2 changed files with 8 additions and 7 deletions

View file

@ -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>

View file

@ -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