Date: Sat, 7 Jan 2017 12:27:45 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430782 - in head/databases: . py-fakeredis Message-ID: <201701071227.v07CRjZ2074736@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Sat Jan 7 12:27:45 2017 New Revision: 430782 URL: https://svnweb.freebsd.org/changeset/ports/430782 Log: 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 Added: head/databases/py-fakeredis/ head/databases/py-fakeredis/Makefile (contents, props changed) head/databases/py-fakeredis/distinfo (contents, props changed) head/databases/py-fakeredis/pkg-descr (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sat Jan 7 12:25:47 2017 (r430781) +++ head/databases/Makefile Sat Jan 7 12:27:45 2017 (r430782) @@ -720,6 +720,7 @@ SUBDIR += py-dbf SUBDIR += py-dbutils SUBDIR += py-django-transaction-hooks + SUBDIR += py-fakeredis SUBDIR += py-fdb SUBDIR += py-firebirdsql SUBDIR += py-flask-sqlalchemy Added: head/databases/py-fakeredis/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-fakeredis/Makefile Sat Jan 7 12:27:45 2017 (r430782) @@ -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> Added: head/databases/py-fakeredis/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-fakeredis/distinfo Sat Jan 7 12:27:45 2017 (r430782) @@ -0,0 +1,3 @@ +TIMESTAMP = 1483784764 +SHA256 (fakeredis-0.8.2.tar.gz) = 39cd454c49b6e31233be41a8b111a6c00278434af3c4d49dd7cafb352454cc7e +SIZE (fakeredis-0.8.2.tar.gz) = 21057 Added: head/databases/py-fakeredis/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-fakeredis/pkg-descr Sat Jan 7 12:27:45 2017 (r430782) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701071227.v07CRjZ2074736>