From nobody Sat Jan 29 01:41:34 2022 X-Original-To: dev-commits-ports-all@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 5A2BA197DA35; Sat, 29 Jan 2022 01:41:34 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JlxrG25ydz3GMC; Sat, 29 Jan 2022 01:41:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643420494; 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=GnqxadEVYJFZzQZrsVtnpv7rtYoKc2SvxRtCtP+cauk=; b=Cc6sAZh/UYdf00P1NAQhigupXb29Pm8QmwDFXc9w8r9Qv66TTbA0P3wqmC0oAO3fqi8MwW OmK02PBDQ3Fz3BWwtCUFNiR6X+iiNd5mGaxFqEirvUHoiCcUw+p+V5Do0ZLBKZAMvmXmOH S1loaG/sw7F/lrsTFSKw0fyGaP/7G4L5PVthaQI0bseqzlBhQ12vANiD72lCUO855eoMKr qeW+AIA+gc9AjsDGN1g5eVBkeSzN6vkQvESvCHCDWlMX58PNo1yWCRe2wIS2XCy4WXavqh kz/DW+tDyX72hZHgn/CBAQPQVkVj+HWgIk57II8v3oIT6dQjBWg0LxVc1yQdKg== 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 29CEF5089; Sat, 29 Jan 2022 01:41:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20T1fYpR081941; Sat, 29 Jan 2022 01:41:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20T1fYiq081940; Sat, 29 Jan 2022 01:41:34 GMT (envelope-from git) Date: Sat, 29 Jan 2022 01:41:34 GMT Message-Id: <202201290141.20T1fYiq081940@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 1ffe9c4b5934 - main - www/py-httpx: Add CLI and SOCKS options List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ffe9c4b5934c410bf4c6dc3756257e59fdf8f81 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643420494; 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=GnqxadEVYJFZzQZrsVtnpv7rtYoKc2SvxRtCtP+cauk=; b=MaYfIsfIvmglH+rHEvMtzDCnG1jFW30bI0QtmNKGtX90r7tRUvhrX4GEl71U4zob6bsyYu 7uXpSDeh3LQd+NKpLwzvA6OHC7esjBHG/TtijEKfzGvTDGxfJQM2CEQOEob5+ivHbfzKl+ 5zHM2pqiUB57T9l8pHmSGalu/bVhfV2ETGG8G6DMsvEDbLP6YL68VyaJCZEC83hNwKWCBC ATLt9mbfVOGGLRSE0k86Gu9UZyvqxXD97jtitmVIW3iy1bkoeZu2+AmZdEospqksT26Ryu cBsK8tMnCy6t6M0yC6PHHOUOUBFp4WJhs6B3hq7hTUSHeZaR2eIccNO9NJvagQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643420494; a=rsa-sha256; cv=none; b=OezyfSkCmPXyv6s3H46mSgmJjZnjHvy3YHhErdgPFYVfIOOHpE3d/TkQ4LAMh2rbhAshi5 6xHIkIWJj0T5H4BkYwDSzM936n+ErBLB7FKhaghDv9V/esKs4mZz973U2EfpHXEveX9rgr oxFcK8Di1jwMx3grRYd+Z0Q2leJkUldp12PYu+kegDBjnFHMKMFNY5tgzGy3lIohQB0uAN h89pLfXLlXyWBw3IqYPlnYrycmk1Vo8GypruwxAaVvoo78J2YzcDeuTTi6GK2sULFF02Pq +DzwildTgxsl/fHDL02/OIIHAGY3k7aznAWcewPZ2I8WfzdcnqpdFlUjzrAH4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ffe9c4b5934c410bf4c6dc3756257e59fdf8f81 commit 1ffe9c4b5934c410bf4c6dc3756257e59fdf8f81 Author: Po-Chuan Hsieh AuthorDate: 2022-01-29 01:40:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-29 01:40:17 +0000 www/py-httpx: Add CLI and SOCKS options --- www/py-httpx/Makefile | 7 ++++++- www/py-httpx/files/patch-setup.py | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile index 8cdd393202c9..24c708cd00f1 100644 --- a/www/py-httpx/Makefile +++ b/www/py-httpx/Makefile @@ -25,12 +25,17 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -OPTIONS_DEFINE= BROTLI HTTP2 +OPTIONS_DEFINE= BROTLI CLI HTTP2 SOCKS OPTIONS_DEFAULT=HTTP2 BROTLI_DESC= Brotli support +CLI_DESC= Command-line interface support HTTP2_DESC= HTTP/2 support BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} +CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8<9:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>=2<3:textproc/py-pygments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=11:textproc/py-rich@${PY_FLAVOR} HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3<5:www/py-h2@${PY_FLAVOR} +SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}socksio>=1<2:net/py-socksio@${PY_FLAVOR} .include diff --git a/www/py-httpx/files/patch-setup.py b/www/py-httpx/files/patch-setup.py index b6e51a112b3f..61ad11cc72ae 100644 --- a/www/py-httpx/files/patch-setup.py +++ b/www/py-httpx/files/patch-setup.py @@ -9,3 +9,12 @@ "httpcore>=0.14.5,<0.15.0", "async_generator; python_version < '3.7'" ], +@@ -72,7 +72,7 @@ setup( + ], + "cli": [ + "click==8.*", +- "rich==10.*", ++ "rich==11.*", + "pygments==2.*" + ] + },