From patchwork Thu Mar 21 00:22:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 1521 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 864C216DB7; Thu, 21 Mar 2019 00:34:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7BC0916DB5 for ; Thu, 21 Mar 2019 00:34:23 +0000 (GMT) Received: from localhost ([127.0.0.1]:57300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6lf5-0005t0-1W for patchwork@mira.cbaines.net; Wed, 20 Mar 2019 20:34:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6len-0005Kx-Go for guix-patches@gnu.org; Wed, 20 Mar 2019 20:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6lU7-0007u4-Kz for guix-patches@gnu.org; Wed, 20 Mar 2019 20:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6lU7-0007tn-Du for guix-patches@gnu.org; Wed, 20 Mar 2019 20:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6lU7-0007gC-9w for guix-patches@gnu.org; Wed, 20 Mar 2019 20:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#34931] [PATCH 3/5] gnu: Add python-minimock. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Mar 2019 00:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34931 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34931@debbugs.gnu.org Received: via spool by 34931-submit@debbugs.gnu.org id=B34931.155312776529453 (code B ref 34931); Thu, 21 Mar 2019 00:23:03 +0000 Received: (at 34931) by debbugs.gnu.org; 21 Mar 2019 00:22:45 +0000 Received: from localhost ([127.0.0.1]:52513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6lTn-0007ex-8a for submit@debbugs.gnu.org; Wed, 20 Mar 2019 20:22:44 -0400 Received: from mout.gmx.net ([212.227.17.22]:45745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6lTk-0007eD-0Y for 34931@debbugs.gnu.org; Wed, 20 Mar 2019 20:22:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1553127754; bh=wID3lkGzjHC7YtusMovjBRIHIIaAf5uredFx/bIgwyA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=aiTLrQym8ccjCupgePIbLSKi9Qt1hYbA4nh1FT0UAaPQc5oX9bQh2n7Aspn55xcww 0UCGvzVhp5Te5adS/SKjpjnnp+J4kra5bw9N+FqUzAgZz1E52/L0vvAG303nh/ygUB fmwbSFU+NgmaXyeqGXdNlFCBzuT19sK4gVTvGpKE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere.lan ([92.8.229.67]) by mail.gmx.com (mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MgHHO-1hKQyy0uMY-00NgA3; Thu, 21 Mar 2019 01:22:34 +0100 From: Pierre Langlois Date: Thu, 21 Mar 2019 00:22:02 +0000 Message-Id: <20190321002204.25294-3-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190321002204.25294-1-pierre.langlois@gmx.com> References: <20190321002204.25294-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:EuAx4UMSZmnM7bnWOq1poOQULirwZJNp4JkOJLi7kk0vMZ7nSsu CWRc6iqhdac0L0lfNVBYcXrju8w3XxBMBnDV5m4d4wV4ITs7eZlAXYjgC8l9lQjhQ9bq+3Q fthndLcOzLQc8om8B1be6PG2glGFM/jfBgA6LWLTcvAcidG2IgCr9YipYVMjro0Dcy1XR8d WEyGxlZQFZgABuTDvWT2g== X-UI-Out-Filterresults: notjunk:1;V03:K0:RezQDICJ5VI=:bQo3l0Ivbqh3egNOtjI2i6 oRMqg8eMPdCn0BzrX3gu071T35oMOSP4RurFE8Zw1+JOl2cV2EiCOxkgD7r/mqEgv/9pGmGbF SRvIFzkDj2OHc5J/lyGXmcgg8cK8iMT2WuvD0vhbH9KyccDKxywDOOSkiHlqOyGDyC3EOkldh nGKk3EzA6nFtvt2y5WYLRtpzsADS6Xtznd2PkA4wW3O8HPWNvrfgY2vQMOn8wb8FptAk6Ioj1 S5vecttVxSFsgSEPniBn2e7zLuSJw328Gsgs83dH3++sRim+O0sMmc4NjMkCAusF+5wjOWrC5 W0UB52toDsaBUan6ZV3nVFn/wHQekkqO0dxIQBbpM8NPot0lZ8QFf/n0dxPysr54bW84CwGH+ 8sOUuL+NcRF6CV59TmdQRlLy8Cq9fh94/k1uiiLvI1kiILKfbSzcP+yoOnquKCFHTqBQYKo6g qTRN+2WDAdPzp6usXZ5K36YmNZrGJE0wH4WpNgD7dk5N+cKQDKK5aNJVhbTWFVpA1o8/nKHvx j+PerhfLi0WB8+UshLwxpujEldB+cQaMG9YxrcNxCkabSnvNmJMMtyPEvvNWNLmDb3CKUBXsS YJXRvOqZqvS7ZWzNbTvkC2UKDdM8oW1TFYmgiNNmh/cWNIu99iRCM81JFPZviPNSFgePLdXeO FMHwWZp59GrLTajEXE8Rs9YYo/difQSrxzZJSOcihfyd/Ic/WGAS84GT7Fbd2qr10CTkOq9OM vMSDgKG2vhgT+GyCVx5jNHrwOkYwIfz8ngQLWgqX9OtnpxzEFQ1aIC/TsoBuLQeFmCdxhVNaX rZ0P1ifsnzOMwr+IQEWi33rL8aVe4e/oOYIO50KB4dvumc8bFSs/TNue66zb8nt4Mx+oseTCe 8N8F9QPJHeUapaWN2/RPxyj8Z812CoMgEnidNI30YGvOOMaQjxjac0TjCjV/dF+iVIYgqFR7h E4AfWcE6Dow== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/check.scm (python-minimock, python2-minimock): New variables. --- gnu/packages/check.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.21.0 diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 4229578f86..9a88a8d873 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2016, 2017, 2018 Marius Bakke ;;; Copyright © 2017, 2018 Ludovic Courtès ;;; Copyright © 2018 Fis Trivial +;;; Copyright © 2019 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -549,6 +550,27 @@ for every Python test framework. It supports nose, py.test, and unittest.") (define-public python2-parameterized (package-with-python2 python-parameterized)) +(define-public python-minimock + (package + (name "python-minimock") + (version "1.2.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "MiniMock" version)) + (sha256 + (base32 + "0k2sxb1ibnyg05iblz7zhbv825f1zk9906rab7883iqgvzmdzpsz")))) + (build-system python-build-system) + (home-page "https://pypi.org/project/MiniMock") + (synopsis "Simple Python library for using mock objects") + (description "MiniMock is a simple library for building mock objects with +doctest.") + (license license:expat))) + +(define-public python2-minimock + (package-with-python2 python-minimock)) + (define-public python-mock (package (name "python-mock")