git: ae9fd746568e - main - devel/py-circuitbreaker: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Oct 2021 08:01:51 UTC
The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=ae9fd746568e7b3034e00c24a5a457640640905f commit ae9fd746568e7b3034e00c24a5a457640640905f Author: Alessandro Sagratini <ale_sagra@hotmail.com> AuthorDate: 2021-10-28 05:56:36 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-10-30 08:00:26 +0000 devel/py-circuitbreaker: Add new port This is a Python implementation of the "Circuit Breaker" Pattern. (http://martinfowler.com/bliki/CircuitBreaker.html) Inspired by Michael T. Nygard's highly recommendable book Release It! (https://pragprog.com/book/mnee/release-it) PR: 259307 --- devel/Makefile | 1 + devel/py-circuitbreaker/Makefile | 25 +++++++++++++++++++++++++ devel/py-circuitbreaker/distinfo | 3 +++ devel/py-circuitbreaker/pkg-descr | 7 +++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9201df1702c8..0aa49e98e449 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4322,6 +4322,7 @@ SUBDIR += py-characteristic SUBDIR += py-check-manifest SUBDIR += py-cheetah3 + SUBDIR += py-circuitbreaker SUBDIR += py-circuits SUBDIR += py-ciso8601 SUBDIR += py-clang diff --git a/devel/py-circuitbreaker/Makefile b/devel/py-circuitbreaker/Makefile new file mode 100644 index 000000000000..f37bc295b131 --- /dev/null +++ b/devel/py-circuitbreaker/Makefile @@ -0,0 +1,25 @@ +PORTNAME= circuitbreaker +PORTVERSION= 1.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ale_sagra@hotmail.com +COMMENT= Python Circuit Breaker pattern implementation + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +TEST_TARGET= test + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v + +.include <bsd.port.mk> diff --git a/devel/py-circuitbreaker/distinfo b/devel/py-circuitbreaker/distinfo new file mode 100644 index 000000000000..5c76141351ab --- /dev/null +++ b/devel/py-circuitbreaker/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634730666 +SHA256 (circuitbreaker-1.3.1.tar.gz) = 1b2d01cd5d02ddb248e1e4d34c1e9d4ee8ebef1d0b8e648b514c936a90df4f7d +SIZE (circuitbreaker-1.3.1.tar.gz) = 6032 diff --git a/devel/py-circuitbreaker/pkg-descr b/devel/py-circuitbreaker/pkg-descr new file mode 100644 index 000000000000..34f93c2444ad --- /dev/null +++ b/devel/py-circuitbreaker/pkg-descr @@ -0,0 +1,7 @@ +This is a Python implementation of the "Circuit Breaker" Pattern. +(http://martinfowler.com/bliki/CircuitBreaker.html) + +Inspired by Michael T. Nygard's highly recommendable book Release It! +(https://pragprog.com/book/mnee/release-it) + +WWW: https://github.com/fabfuel/circuitbreaker