From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 3/6] gnu: Add python-ddt Date: Tue, 7 Feb 2017 21:00:38 +0300 Message-ID: <1486490441-3995-3-git-send-email-fredmanglis@gmail.com> References: <1486490441-3995-1-git-send-email-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbA3R-0005xF-Or for guix-devel@gnu.org; Tue, 07 Feb 2017 12:59:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbA3Q-0005Nu-Ph for guix-devel@gnu.org; Tue, 07 Feb 2017 12:59:49 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:37001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbA3Q-0005NP-Jd for guix-devel@gnu.org; Tue, 07 Feb 2017 12:59:48 -0500 Received: by mail-wm0-x22f.google.com with SMTP id v77so165826101wmv.0 for ; Tue, 07 Feb 2017 09:59:48 -0800 (PST) In-Reply-To: <1486490441-3995-1-git-send-email-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: Muriithi Frederick Muriuki * 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