diff --git a/databases/Makefile b/databases/Makefile index f02dc9c15bfb..a17d1fe3023a 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -786,6 +786,7 @@ SUBDIR += py-pyodbc SUBDIR += py-pypuppetdb SUBDIR += py-python-arango + SUBDIR += py-python-binary-memcached SUBDIR += py-python-memcached SUBDIR += py-python-rrdtool SUBDIR += py-python-sql diff --git a/databases/py-python-binary-memcached/Makefile b/databases/py-python-binary-memcached/Makefile new file mode 100644 index 000000000000..6a597b540c0e --- /dev/null +++ b/databases/py-python-binary-memcached/Makefile @@ -0,0 +1,27 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= python-binary-memcached +PORTVERSION= 0.30.0 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pure python module to access memcached via its binary protocol + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uhashring>=0:security/py-uhashring@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} -m pytest + +.include diff --git a/databases/py-python-binary-memcached/distinfo b/databases/py-python-binary-memcached/distinfo new file mode 100644 index 000000000000..c2676340624e --- /dev/null +++ b/databases/py-python-binary-memcached/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1598605156 +SHA256 (python-binary-memcached-0.30.0.tar.gz) = 93669e5620b9fa9ab55d475191a2c3853132b693c5de719ed10eda2c8829391c +SIZE (python-binary-memcached-0.30.0.tar.gz) = 93280 diff --git a/databases/py-python-binary-memcached/pkg-descr b/databases/py-python-binary-memcached/pkg-descr new file mode 100644 index 000000000000..2a84fced4383 --- /dev/null +++ b/databases/py-python-binary-memcached/pkg-descr @@ -0,0 +1,8 @@ +bmemcached is a pure python module (thread safe) to access memcached via it's +binary with SASL auth support. + +The main purpose of this module it to be able to communicate with memcached +using binary protocol and support authentication, so it can work with Heroku for +example. + +WWW: https://github.com/jaysonsantos/python-binary-memcached