From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 16/20] gnu: Add python-mock-1.3.0 Date: Fri, 14 Apr 2017 13:13:16 +0300 Message-ID: <20170414101320.11755-16-fredmanglis@gmail.com> References: <20170414101320.11755-1-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyyES-0001BN-4t for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyyER-0005gh-8L for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:36 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34633) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyyER-0005g2-1i for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:35 -0400 Received: by mail-wm0-x244.google.com with SMTP id x75so17131845wma.1 for ; Fri, 14 Apr 2017 03:13:34 -0700 (PDT) In-Reply-To: <20170414101320.11755-1-fredmanglis@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: pjotr2017@thebird.nl * 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