git: 877138543e75 - main - www/py-httpx-retries: New port: Retry layer for HTTPX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 May 2025 19:18:28 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=877138543e759e07dd5eb9002a509a7f8bd21b8b
commit 877138543e759e07dd5eb9002a509a7f8bd21b8b
Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2025-05-03 19:17:04 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-05-03 19:18:11 +0000
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
---
www/Makefile | 1 +
www/py-httpx-retries/Makefile | 24 ++++++++++++++++++++++++
www/py-httpx-retries/distinfo | 3 +++
www/py-httpx-retries/pkg-descr | 4 ++++
4 files changed, 32 insertions(+)
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.