unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: guix-devel@gnu.org
Cc: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Subject: [PATCH 3/6] gnu: Add python-ddt
Date: Tue,  7 Feb 2017 21:00:38 +0300	[thread overview]
Message-ID: <1486490441-3995-3-git-send-email-fredmanglis@gmail.com> (raw)
In-Reply-To: <1486490441-3995-1-git-send-email-fredmanglis@gmail.com>

* gnu/packages/python.scm (python-ddt): New variable.
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b39d8b1..44704b2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12580,3 +12580,28 @@ faster ones are not available.")
      "This package that provides some compatibility helpers for Flake8 plugins that
  intend to support Flake8 2.x and 3.x simultaneously")
     (license license:expat)))
+
+(define-public python-ddt
+  (package
+    (name "python-ddt")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ddt" version))
+       (sha256
+        (base32
+         "1c00ikkxr7lha97c81k938bzhgd4pbwamkjn0h4nkhr3xk00zp6n"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-nose" ,python-nose)))
+    (inputs
+     `(("python-six" ,python-six)
+       ("python-pyyaml" ,python-pyyaml)))
+    (home-page "https://github.com/txels/ddt")
+    (synopsis "Data-Driven/Decorated Tests")
+    (description "DDT (Data-Driven Tests) allows you to multiply one test case by running
+ it with different test data, and make it appear as multiple test cases")
+    (license (license:non-copyleft
+              "https://github.com/txels/ddt/blob/master/LICENSE.md"))))
-- 
2.1.4

  parent reply	other threads:[~2017-02-07 17:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07 18:00 [PATCH 1/6] gnu: Add python-rst2ansi Muriithi Frederick Muriuki
2017-02-07 18:00 ` [PATCH 2/6] gnu: Add python-flake8-polyfill Muriithi Frederick Muriuki
2017-02-08 22:29   ` Marius Bakke
2017-02-07 18:00 ` Muriithi Frederick Muriuki [this message]
2017-02-08 22:32   ` [PATCH 3/6] gnu: Add python-ddt Marius Bakke
2017-02-09 22:29   ` Hartmut Goebel
2017-02-07 18:00 ` [PATCH 4/6] gnu: Add python-pycosat Muriithi Frederick Muriuki
2017-02-08 22:35   ` Marius Bakke
2017-02-09 16:46     ` Frederick Muriithi
2017-02-07 18:00 ` [PATCH 5/6] gnu: Add python-typing Muriithi Frederick Muriuki
2017-02-08 22:38   ` Marius Bakke
2017-02-09 17:04     ` Frederick Muriithi
2017-02-09 22:33       ` Hartmut Goebel
2017-02-07 18:00 ` [PATCH 6/6] gnu: Add python-ruamel.ordereddict Muriithi Frederick Muriuki
2017-02-08 22:40   ` Marius Bakke
2017-02-08 22:27 ` [PATCH 1/6] gnu: Add python-rst2ansi Marius Bakke
2017-02-09 16:13   ` Frederick Muriithi
  -- strict thread matches above, loose matches on Subject: below --
2017-02-09 17:48 Muriithi Frederick Muriuki
2017-02-09 17:48 ` [PATCH 3/6] gnu: Add python-ddt Muriithi Frederick Muriuki
2017-02-09 22:54   ` Marius Bakke

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=1486490441-3995-3-git-send-email-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=guix-devel@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).