git: 18403c48401d - main - devel/py-thriftpy2: Add AIOHTTP option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 12 Mar 2026 14:48:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18403c48401d7f86f2351f9827f01c9076fe0730

commit 18403c48401d7f86f2351f9827f01c9076fe0730
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-03-12 14:18:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-03-12 14:46:58 +0000

    devel/py-thriftpy2: Add AIOHTTP option
---
 devel/py-thriftpy2/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/py-thriftpy2/Makefile b/devel/py-thriftpy2/Makefile
index 4b00cc1ebd34..65d7e57daf5f 100644
--- a/devel/py-thriftpy2/Makefile
+++ b/devel/py-thriftpy2/Makefile
@@ -21,6 +21,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.4<4.0:devel/py-ply@${PY_FLAVOR} \
 USES=		dos2unix python
 USE_PYTHON=	autoplist concurrent cython pep517
 
+OPTIONS_DEFINE=	AIOHTTP
+AIOHTTP_DESC=	Asynchronous HTTP support
+
+AIOHTTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.0<4.0.0:www/py-aiohttp@${PY_FLAVOR}
+
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +