1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

fakeredis is a pure python implementation of the redis-py python client that

simulates talking to a redis server. This was created for a single purpose:
to write unittests. Setting up redis is not hard, but many times you want to
write unittests that do not talk to an external server (such as redis). This
module now allows tests to simply use this module as a reasonable substitute
for redis.

WWW: https://github.com/jamesls/fakeredis
This commit is contained in:
Rene Ladan 2017-01-07 12:27:45 +00:00
parent a5aedafd1a
commit f6da41594d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430782
4 changed files with 33 additions and 0 deletions

View File

@ -720,6 +720,7 @@
SUBDIR += py-dbf SUBDIR += py-dbf
SUBDIR += py-dbutils SUBDIR += py-dbutils
SUBDIR += py-django-transaction-hooks SUBDIR += py-django-transaction-hooks
SUBDIR += py-fakeredis
SUBDIR += py-fdb SUBDIR += py-fdb
SUBDIR += py-firebirdsql SUBDIR += py-firebirdsql
SUBDIR += py-flask-sqlalchemy SUBDIR += py-flask-sqlalchemy

View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= fakeredis
PORTVERSION= 0.8.2
CATEGORIES= databases
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rene@FreeBSD.org
COMMENT= Fake version of databases/py-redis for unit testing
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1483784764
SHA256 (fakeredis-0.8.2.tar.gz) = 39cd454c49b6e31233be41a8b111a6c00278434af3c4d49dd7cafb352454cc7e
SIZE (fakeredis-0.8.2.tar.gz) = 21057

View File

@ -0,0 +1,8 @@
fakeredis is a pure python implementation of the redis-py python client that
simulates talking to a redis server. This was created for a single purpose:
to write unittests. Setting up redis is not hard, but many times you want to
write unittests that do not talk to an external server (such as redis). This
module now allows tests to simply use this module as a reasonable substitute
for redis.
WWW: https://github.com/jamesls/fakeredis