unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Frederick Muriithi <fredmanglis@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add python-ddt
Date: Tue, 7 Feb 2017 17:36:46 +0300	[thread overview]
Message-ID: <CALjrZwa2nU2WPmoP81G-90X2jQq1sT5sukApg5u3tucjwQn3NQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 26 bytes --]

-- 
Frederick M. Muriithi

[-- Attachment #2: 0001-gnu-Add-python-ddt.patch --]
[-- Type: text/x-patch, Size: 1805 bytes --]

From a87ecb1e19a2463ba1223415bc066f135e21ca5b Mon Sep 17 00:00:00 2001
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Date: Tue, 7 Feb 2017 17:35:01 +0300
Subject: [PATCH] gnu: Add python-ddt

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 73a467f..6562df4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12561,3 +12561,32 @@ 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 (string-append
+             "https://pypi.python.org/packages/83/96/21a2cef2962a07768854d411a97366292669"
+             "3173887560895e962cf952c9/ddt-"
+             version
+             ".tar.gz"))
+       (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


                 reply	other threads:[~2017-02-07 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CALjrZwa2nU2WPmoP81G-90X2jQq1sT5sukApg5u3tucjwQn3NQ@mail.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).