mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add MEMCACHED, MSGPACK and REDIS options
This commit is contained in:
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
|
@ -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>
|
||||
|
|
11
devel/py-cachy/files/patch-setup.py
Normal file
11
devel/py-cachy/files/patch-setup.py
Normal 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 = {
|
Loading…
Add table
Reference in a new issue