From nobody Sat May 03 19:18:28 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZqcyX4Ztjz5vm34; Sat, 03 May 2025 19:18:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZqcyX3gK8z4H57; Sat, 03 May 2025 19:18:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746299908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6gIwfOBYIu4b/sOKhkZiuB5wWu1JuUHuBC5R4DUXN14=; b=v46tKgwL/ABspboRLX4rAzjN1ek67UyGuCZLTwJGAtoxuJn0Edpa12Ns+3t6Ui7WX/ihD0 69Erqez9lhbv2+1uGhT38OTrK+2TubDM8R9FMjcZzrwQ/ACGq9zwMz/VVYrou2z8ZEp6vu r3tZLsB++CFHRgaY5IGIQzif4UfcjR55aNxfXlEnjDzb3CJzKJVQMnH9cOxxNotRlInmXI AjCWjU2uXZj/qkdQP3yZfjAjArsipywvG4XkXJI3J/lAbTGqIMoieoeX3MLeDsF92Z1jlv IdGrrkgTMlSbUu452uj0MHoeX++6V57OfIpK6RgMdrwJ0IVk+9uhO5qnsA39Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746299908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6gIwfOBYIu4b/sOKhkZiuB5wWu1JuUHuBC5R4DUXN14=; b=ZKnYiLxVbClfpwQY82b1d/19S/fMdoi4bpou6DRDkS4agaqtfAmVC5eIh8cyhQfSpfiP4/ rvc4oV03FAGW4ePuQvyuq33509Qsz6hQZ0tM2XkiFNn7k/FP8ORzH7Z8+uYpBCeYHjdvEb aLEPT1H9HBZhMtL7ySJ2kVm9wqyPPNshcdXy+nkeFA1Aa5M5V23UBXzIOVI0+z2sHEtG6u honTrycmy/vQ7LPNgpbpsCPwfvoMCPRkVCVvTUOUCzzOcHmaTVJ8ZTqp58xk1I6pQ6shnK +vvEoSjx8FBs9J1KAKn4f9JQ8eE1fmba/YG6KSQhfgUyCb+GSFT6nZb8Z1uhNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746299908; a=rsa-sha256; cv=none; b=loa+SlgDluCk2DYQmOEDkiIV2J43yIY6BOFjxFrBBDWGS9u5Xz1ILJvsbv4l242SEmch/B g+J5/gntCFyTH0rh7B4KQbO9wdix2Ty+Psp46+DTayrabHq0yhSOAfouUPeXPdoQ7J7x9O XoUNajVOxCo+r06CMctDdaOYPfShItO396JQOBpga3zOvdENUq3UOOfISumD3zHBu7j481 Anp0wQe61QfAVEuJxAxdS2Bawk0pY/m9Ldq0nuEMmXF8NvujhttyKkloQzxfvnZR8fJNDm 6b1UuMNVXWjdMyy4i4auVqvpYOre55S0s9KfTYv8a95erf+Malo3VZsp/duJDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZqcyX2RwrzwJd; Sat, 03 May 2025 19:18:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 543JISh0096983; Sat, 3 May 2025 19:18:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 543JISxt096980; Sat, 3 May 2025 19:18:28 GMT (envelope-from git) Date: Sat, 3 May 2025 19:18:28 GMT Message-Id: <202505031918.543JISxt096980@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 877138543e75 - main - www/py-httpx-retries: New port: Retry layer for HTTPX List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 877138543e759e07dd5eb9002a509a7f8bd21b8b Auto-Submitted: auto-generated 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 AuthorDate: 2025-05-03 19:17:04 +0000 Commit: Jose Alonso Cardenas Marquez 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 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.