From nobody Mon Dec 25 09:09:46 2023 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 4SzBtg29pzz54Lmc; Mon, 25 Dec 2023 09:09:47 +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 4SzBtg04tsz3YRc; Mon, 25 Dec 2023 09:09:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703495387; 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=NUBlB5+l/frJtBtWbXXl4XOCqxxD9gBA0kRXSYZBTlg=; b=MrK3fIqRthuH1Lcu38VxWwlW3wSRTDY4HF/uTMFPlXY5ZBSwhK0l9ISom+MqRccLILgu3v Sz4DKUSq04QIYz2V7xWgIkMuYOsKGGsaESVfD310tMqSK2qKN6mLPh4XJZE6Cgh2wHDSOb jpMHYLYjItizC4CY22gS/kf54xItLD7MS8XDwjoygLwnSM5NNRARRefryxVXuBiQCCa45y KLQTAza/EeMXSVXA79qSoCm1nUMG6jATY7a1NuwzQ7eOtp5mAfGV3knD5g6xdZ4C1WRdb3 r8o2umESea4HAYrvrO6H1dpmEfoufpebAN99jGFduCsebY2bYPKyHyJNJ5IAdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703495387; a=rsa-sha256; cv=none; b=RX9kKKfQZCv8nT4TYp794Ind5zkfMX9C6vfN41ps1BLv1AbNUodwHJBYbc/xRHc1wuiNDr ENcyY3bZQx/xhPnjgkkBZFhnCqfnsz3oz+NNfU7QkAMlTx3ShVg59wDgPXYvfW6WMFhyWJ Y21eYs/a0QEd2MnJ7LkpVFhUlWC8M+VDt+0+g7NvfYUD7L4b/NCatKJ7j1VY/dGrOnWfMz 8B663JbT6TtZCmK+crfYfcskkrFcuI/Xz5mgvz1WIeCr5DBSXZktLILAC0Z41xAQctUHx/ z51sC/4XByJalXEURzm8Ys3i1a2nsifbtoZY/8K+BMtR9W2MnHcuGBR0KefwKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703495387; 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=NUBlB5+l/frJtBtWbXXl4XOCqxxD9gBA0kRXSYZBTlg=; b=ZjMxyqR73+zwbDVjHelstfJzWOizLGuk3Lgkz6mR3qhzPoI9e432YxwBDAhCTSXsnpHR7U X3wZ8A3i1RH+n2ycU6e8wB82Jq7llP0AIG6aSOrLgHIHv/BESFIOz4jQT7JgURjPd8SSdE aeFLJxCkNqDrQ/71oIKLOvrXzcQCxw/URwq8xZOUH3Ovpp+DuTvq2HEw3zc8XFTLHTT6Vo pPPQzVdeHvZp7OzGikkPY0eRoSTv2jR7/YJKR4zWLVzWYTwMFZ73PGlT2Cwwnl9MkjsHme HorjdWgexF7L+cxr7FCYATTxUDIAGIlZYOHMLpa70rDi46ZPNJMNg9+lJJgMgA== 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 4SzBtf6Jhxz14Sm; Mon, 25 Dec 2023 09:09:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BP99k7j071996; Mon, 25 Dec 2023 09:09:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BP99kuK071993; Mon, 25 Dec 2023 09:09:46 GMT (envelope-from git) Date: Mon, 25 Dec 2023 09:09:46 GMT Message-Id: <202312250909.3BP99kuK071993@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: 601fec4a7ce0 - main - www/py-httpcore: Add TRIO option 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 601fec4a7ce06fbddb0f39113a72667b58fe3e19 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=601fec4a7ce06fbddb0f39113a72667b58fe3e19 commit 601fec4a7ce06fbddb0f39113a72667b58fe3e19 Author: Po-Chuan Hsieh AuthorDate: 2023-12-25 09:01:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-12-25 09:01:10 +0000 www/py-httpcore: Add TRIO option --- www/py-httpcore/Makefile | 4 +++- www/py-httpcore/files/patch-pyproject.toml | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/www/py-httpcore/Makefile b/www/py-httpcore/Makefile index 574885b3f9a0..9e4e97546c20 100644 --- a/www/py-httpcore/Makefile +++ b/www/py-httpcore/Makefile @@ -22,13 +22,15 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -OPTIONS_DEFINE= ASYNCIO HTTP2 SOCKS +OPTIONS_DEFINE= ASYNCIO HTTP2 SOCKS TRIO OPTIONS_DEFAULT=ASYNCIO HTTP2 ASYNCIO_DESC= Asynchronous support via anyio HTTP2_DESC= HTTP/2 support +TRIO_DESC= Asynchronous support via trio ASYNCIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=4.0<5.0:devel/py-anyio@${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} +TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.22.0:net/py-trio@${PY_FLAVOR} .include diff --git a/www/py-httpcore/files/patch-pyproject.toml b/www/py-httpcore/files/patch-pyproject.toml new file mode 100644 index 000000000000..bc44320a3d72 --- /dev/null +++ b/www/py-httpcore/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -41,7 +41,7 @@ socks = [ + "socksio==1.*", + ] + trio = [ +- "trio>=0.22.0,<0.23.0", ++ "trio>=0.22.0", + ] + asyncio = [ + "anyio>=4.0,<5.0",