From e1a56e8d2f59441cd6ad08c67d514c41ea66e396 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Fri, 14 Apr 2017 12:24:03 +0300 Subject: [PATCH 16/20] gnu: Add python-mock-1.3.0 * gnu/packages/python.scm (python-mock-1.3.0): New variable. --- gnu/packages/python.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9b2debc..f2355bd 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14366,3 +14366,22 @@ This is also for repeatable fuzzy data in tests - factory boy uses faker for lot (define-public python2-pbr-2.0.0 (package-with-python2 python-pbr-2.0.0)) + +(define-public python-mock-1.3.0 + ;; httpretty has a hard requirement for mock==1.3.0 + (package + (inherit python-mock) + (name "python-mock") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mock" version)) + (sha256 + (base32 + "1xm0xkaz8d8d26kdk09f2n9vn543ssd03vmpkqlmgq3crjz7s90y")))) + (propagated-inputs + `(("python-pbr" ,python-pbr-2.0.0))))) + +(define-public python2-mock-1.3.0 + (package-with-python2 python-mock-1.3.0)) -- 2.10.2