diff options
| author | Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> | 2025-05-03 19:17:04 +0000 |
|---|---|---|
| committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2025-05-03 19:18:11 +0000 |
| commit | 877138543e759e07dd5eb9002a509a7f8bd21b8b (patch) | |
| tree | 3de1caa1bb9f0e2a81a088742b06b8dd69cca403 | |
| parent | 7b5fe63f47ab1b53aac4aca6a891c596a807fcde (diff) | |
www/py-httpx-retries: New port: Retry layer for HTTPX
HTTPX Retries implements request retry for HTTPX.
It's very common to deal with flaky and unreliable APIs. When
requests fail, your program needs to be able to retry them.
PR: 286355
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/py-httpx-retries/Makefile | 24 | ||||
| -rw-r--r-- | www/py-httpx-retries/distinfo | 3 | ||||
| -rw-r--r-- | www/py-httpx-retries/pkg-descr | 4 |
4 files changed, 32 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 4c7a02d2747e..b0c2a5906b36 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1795,6 +1795,7 @@ SUBDIR += py-httptools SUBDIR += py-httpx SUBDIR += py-httpx-oauth + SUBDIR += py-httpx-retries SUBDIR += py-httpx-socks SUBDIR += py-httpx-sse SUBDIR += py-httpx-ws diff --git a/www/py-httpx-retries/Makefile b/www/py-httpx-retries/Makefile new file mode 100644 index 000000000000..7a76411077d8 --- /dev/null +++ b/www/py-httpx-retries/Makefile @@ -0,0 +1,24 @@ +PORTNAME= httpx-retries +PORTVERSION= 0.3.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= httpx_retries-${PORTVERSION} + +MAINTAINER= DtxdF@disroot.org +COMMENT= Retry layer for HTTPX +WWW= https://will-ockmore.github.io/httpx-retries/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-httpx-retries/distinfo b/www/py-httpx-retries/distinfo new file mode 100644 index 000000000000..8252ea8abcbe --- /dev/null +++ b/www/py-httpx-retries/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1745649955 +SHA256 (httpx_retries-0.3.2.tar.gz) = af2cc82f18e9196612e3c73aba027982450b6581f565af659dd8f5c884e991e0 +SIZE (httpx_retries-0.3.2.tar.gz) = 12530 diff --git a/www/py-httpx-retries/pkg-descr b/www/py-httpx-retries/pkg-descr new file mode 100644 index 000000000000..68b3434523c3 --- /dev/null +++ b/www/py-httpx-retries/pkg-descr @@ -0,0 +1,4 @@ +HTTPX Retries implements request retry for HTTPX. + +It's very common to deal with flaky and unreliable APIs. When +requests fail, your program needs to be able to retry them. |
