From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 3/6] gnu: Add python-ddt Date: Thu, 9 Feb 2017 20:48:34 +0300 Message-ID: <20170209174837.30914-3-fredmanglis@gmail.com> References: <20170209174837.30914-1-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbsox-0007tu-3L for guix-devel@gnu.org; Thu, 09 Feb 2017 12:47:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbsow-0000Bb-6H for guix-devel@gnu.org; Thu, 09 Feb 2017 12:47:51 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:35611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbsov-0000AJ-Vz for guix-devel@gnu.org; Thu, 09 Feb 2017 12:47:50 -0500 Received: by mail-wm0-x242.google.com with SMTP id u63so3979059wmu.2 for ; Thu, 09 Feb 2017 09:47:49 -0800 (PST) In-Reply-To: <20170209174837.30914-1-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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6b56312..9e17caf 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12580,3 +12580,27 @@ 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 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:expat))) -- 2.10.2