Add MEMCACHED, MSGPACK and REDIS options

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-03-01 18:18:33 +00:00
parent b5fb154302
commit a6a2ac511e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527577
2 changed files with 20 additions and 0 deletions

View file

@ -18,4 +18,13 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= MEMCACHED MSGPACK REDIS
MEMCACHED_DESC= Memcached support
MSGPACK_DESC= MessagePack support
REDIS_DESC= Redis support
MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=1.59<2.0:databases/py-python-memcached@${PY_FLAVOR}
MSGPACK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5<1:devel/py-msgpack@${PY_FLAVOR}
REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=3.3.6<4.0.0:databases/py-redis@${PY_FLAVOR}
.include <bsd.port.mk>

View file

@ -0,0 +1,11 @@
--- setup.py.orig 1970-01-01 00:00:00 UTC
+++ setup.py
@@ -14,7 +14,7 @@ package_data = \
extras_require = \
{'memcached': ['python-memcached>=1.59,<2.0'],
- 'msgpack': ['msgpack-python>=0.5,<0.6'],
+ 'msgpack': ['msgpack>=0.5,<1'],
'redis': ['redis>=3.3.6,<4.0.0']}
setup_kwargs = {