[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/36: gnu: Add python-fakeredis.
From: |
julien lepiller |
Subject: |
28/36: gnu: Add python-fakeredis. |
Date: |
Thu, 11 May 2017 16:01:31 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 91154d4a40321dc1fa3cdd53cad407af539261be
Author: Julien Lepiller <address@hidden>
Date: Sun Apr 23 16:37:02 2017 +0200
gnu: Add python-fakeredis.
* gnu/packages/python.scm (python-fakeredis, python2-fakeredis): New
variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index bee94b4..4082632 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14592,3 +14592,31 @@ parsing code in hiredis. It primarily speeds up
parsing of multi bulk replies."
(define-public python2-hiredis
(package-with-python2 python-hiredis))
+
+(define-public python-fakeredis
+ (package
+ (name "python-fakeredis")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fakeredis" version))
+ (sha256
+ (base32
+ "0zncahj3byyasyfx9i7k991ph0n0lq8v3a21pqri5qxn9564bk9r"))))
+ (build-system python-build-system)
+ (arguments
+ ;; no tests
+ `(#:tests? #f))
+ (home-page "https://github.com/jamesls/fakeredis")
+ (synopsis "Fake implementation of redis API for testing purposes")
+ (description "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
time
+ 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.")
+ (license license:bsd-3)))
+
+(define-public python2-fakeredis
+ (package-with-python2 python-fakeredis))
- 34/36: gnu: python-pytest-django: Update to 3.1.2., (continued)
- 34/36: gnu: python-pytest-django: Update to 3.1.2., julien lepiller, 2017/05/11
- 21/36: gnu: Add python-django-jsonfield., julien lepiller, 2017/05/11
- 23/36: gnu: Add python-django-bulk-update., julien lepiller, 2017/05/11
- 11/36: gnu: Add python-nosexcover., julien lepiller, 2017/05/11
- 25/36: gnu: Add python-django-contrib-comments., julien lepiller, 2017/05/11
- 36/36: gnu: Add pootle., julien lepiller, 2017/05/11
- 24/36: gnu: Add python-django-contact-form., julien lepiller, 2017/05/11
- 29/36: gnu: Add python-django-redis., julien lepiller, 2017/05/11
- 20/36: gnu: Add python-django-assets., julien lepiller, 2017/05/11
- 26/36: gnu: Add python-django-overextends., julien lepiller, 2017/05/11
- 28/36: gnu: Add python-fakeredis.,
julien lepiller <=
- 35/36: gnu: Fix python2-django-allauth., julien lepiller, 2017/05/11
- 19/36: gnu: Add python-mysqlclient., julien lepiller, 2017/05/11
- 30/36: gnu: Add python-django-rq., julien lepiller, 2017/05/11
- 32/36: gnu: Add python-django-appconf., julien lepiller, 2017/05/11