From cacf9f90fe909905ab41277b039b13aaf787964b Mon Sep 17 00:00:00 2001 From: decke Date: Tue, 2 Jun 2020 19:13:48 +0000 Subject: [PATCH] txredisapi is a non-blocking client driver for the redis database, written in python. It uses twisted for the asynchronous communication with redis. WWW: https://github.com/IlyaSkriblovsky/txredisapi PR: 246813 Submitted by: Sascha Biberhofer --- databases/Makefile | 1 + databases/py-txredisapi/Makefile | 31 +++++++++++++++++++++++++++++++ databases/py-txredisapi/distinfo | 3 +++ databases/py-txredisapi/pkg-descr | 4 ++++ 4 files changed, 39 insertions(+) create mode 100644 databases/py-txredisapi/Makefile create mode 100644 databases/py-txredisapi/distinfo create mode 100644 databases/py-txredisapi/pkg-descr diff --git a/databases/Makefile b/databases/Makefile index 830d856d48d6..58f5f9eead30 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -826,6 +826,7 @@ SUBDIR += py-tableschema SUBDIR += py-tarantool SUBDIR += py-tiledb + SUBDIR += py-txredisapi SUBDIR += py-umemcache SUBDIR += py-unqlite SUBDIR += py-varstack diff --git a/databases/py-txredisapi/Makefile b/databases/py-txredisapi/Makefile new file mode 100644 index 000000000000..8a913e412fd4 --- /dev/null +++ b/databases/py-txredisapi/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= txredisapi +DISTVERSION= 1.4.7 +CATEGORIES= databases python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ports@skyforge.at +COMMENT= Non-blocking redis client for python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +# Keep the RUN_DEPENDS layout similar to the master/synapse/python_dependencies.py file +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=2.0:devel/py-mock@${PY_FLAVOR} \ + redis-server:databases/redis + +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +GH_ACCOUNT= IlyaSkriblovsky + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests + +.include diff --git a/databases/py-txredisapi/distinfo b/databases/py-txredisapi/distinfo new file mode 100644 index 000000000000..68407099597a --- /dev/null +++ b/databases/py-txredisapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1590665977 +SHA256 (IlyaSkriblovsky-txredisapi-1.4.7_GH0.tar.gz) = dfaf204ab547eeddfcf54c81734a8a06dadbbf079fd01d9c27a788c7d770376e +SIZE (IlyaSkriblovsky-txredisapi-1.4.7_GH0.tar.gz) = 53969 diff --git a/databases/py-txredisapi/pkg-descr b/databases/py-txredisapi/pkg-descr new file mode 100644 index 000000000000..869496f10a49 --- /dev/null +++ b/databases/py-txredisapi/pkg-descr @@ -0,0 +1,4 @@ +txredisapi is a non-blocking client driver for the redis database, written in +python. It uses twisted for the asynchronous communication with redis. + +WWW: https://github.com/IlyaSkriblovsky/txredisapi