diff options
Diffstat (limited to 'www/py-httpx-retries')
-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 |
3 files changed, 31 insertions, 0 deletions
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. |