svn commit: r527577 - in head/devel/py-cachy: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 1 18:18:35 UTC 2020
Author: sunpoet
Date: Sun Mar 1 18:18:33 2020
New Revision: 527577
URL: https://svnweb.freebsd.org/changeset/ports/527577
Log:
Add MEMCACHED, MSGPACK and REDIS options
Added:
head/devel/py-cachy/files/
head/devel/py-cachy/files/patch-setup.py (contents, props changed)
Modified:
head/devel/py-cachy/Makefile
Modified: head/devel/py-cachy/Makefile
==============================================================================
--- head/devel/py-cachy/Makefile Sun Mar 1 18:18:27 2020 (r527576)
+++ head/devel/py-cachy/Makefile Sun Mar 1 18:18:33 2020 (r527577)
@@ -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>
Added: head/devel/py-cachy/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cachy/files/patch-setup.py Sun Mar 1 18:18:33 2020 (r527577)
@@ -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 = {
More information about the svn-ports-head
mailing list