From: Pierre Langlois <pierre.langlois@gmx.com>
To: 34931@debbugs.gnu.org
Subject: [bug#34931] [PATCH 3/5] gnu: Add python-minimock.
Date: Thu, 21 Mar 2019 00:22:02 +0000 [thread overview]
Message-ID: <20190321002204.25294-3-pierre.langlois@gmx.com> (raw)
In-Reply-To: <20190321002204.25294-1-pierre.langlois@gmx.com>
* gnu/packages/check.scm (python-minimock, python2-minimock): New
variables.
---
gnu/packages/check.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
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 <mbakke@fastmail.com>
;;; Copyright © 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
+;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;;
;;; 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")
--
2.21.0
next prev parent reply other threads:[~2019-03-21 0:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 0:11 [bug#34931] [PATCH 0/5] Add gPodder Pierre Langlois
2019-03-21 0:22 ` [bug#34931] [PATCH 1/5] gnu: libmygpo-qt: Move to new 'gpodder.scm' file Pierre Langlois
2019-03-21 0:22 ` [bug#34931] [PATCH 2/5] gnu: Add python-podcastparser Pierre Langlois
2019-03-21 0:22 ` Pierre Langlois [this message]
2019-03-21 0:22 ` [bug#34931] [PATCH 4/5] gnu: Add python-mygpoclient Pierre Langlois
2019-06-27 19:38 ` swedebugia
2019-06-27 22:33 ` Pierre Langlois
2019-06-28 6:11 ` Pierre Langlois
2019-03-21 0:22 ` [bug#34931] [PATCH 5/5] gnu: Add gPodder Pierre Langlois
2019-03-25 9:32 ` bug#34931: " Ludovic Courtès
2019-03-23 17:17 ` [bug#34931] [PATCH 0/5] " Ludovic Courtès
2019-03-24 13:27 ` Pierre Langlois
2019-03-24 14:24 ` Pierre Langlois
2019-03-24 16:29 ` Pierre Langlois
2019-03-25 9:26 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190321002204.25294-3-pierre.langlois@gmx.com \
--to=pierre.langlois@gmx.com \
--cc=34931@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).