summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-08-30 07:12:37 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-08-30 07:12:37 +0000
commit359ea5d1be9dc49afa44dbde0c588be524b2d499 (patch)
tree9857b4f307ccfa3c6932b4146bcfcc1cb08e2a88 /databases
parentx11-fm/nemo: fix build on current (diff)
Add py-python-binary-memcached 0.30.0
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
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-python-binary-memcached/Makefile27
-rw-r--r--databases/py-python-binary-memcached/distinfo3
-rw-r--r--databases/py-python-binary-memcached/pkg-descr8
4 files changed, 39 insertions, 0 deletions
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 <sunpoet@FreeBSD.org>
+# $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 <bsd.port.mk>
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