Add AIOREDIS and LUA options

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-04-06 17:33:20 +00:00
parent 421e7c22fc
commit 627ded965e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530901

View File

@ -23,6 +23,13 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= AIOREDIS LUA
AIOREDIS_DESC= Asyncio redis support
LUA_DESC= Lua support
AIOREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioredis>=0:databases/py-aioredis@${PY_FLAVOR}
LUA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lupa>=0:lang/py-lupa@${PY_FLAVOR}
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} test_fakeredis.py