git: 05bd5e26bcd3 - main - www/py-aiohttp: Add SPEEDUPS option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Nov 2023 18:46:59 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=05bd5e26bcd313b10f68f63a7d4f7ffc2fa9e252
commit 05bd5e26bcd313b10f68f63a7d4f7ffc2fa9e252
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 18:46:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 18:46:39 +0000
www/py-aiohttp: Add SPEEDUPS option
---
www/py-aiohttp/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile
index c42d63ffcf11..fe3fe899531b 100644
--- a/www/py-aiohttp/Makefile
+++ b/www/py-aiohttp/Makefile
@@ -30,6 +30,12 @@ USE_PYTHON= autoplist concurrent cython pep517 pytest
CPE_VENDOR= aiohttp_project
+OPTIONS_DEFINE= SPEEDUPS
+SPEEDUPS_DESC= Performance speedups
+
+SPEEDUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodns>=0:dns/py-aiodns@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR}
+
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31100