From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 3/4] gnu: Add python-paramunittest Date: Sun, 26 Mar 2017 12:23:34 +0300 Message-ID: <20170326092335.3912-3-fredmanglis@gmail.com> References: <20170326092335.3912-1-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cs4O7-0001UZ-14 for guix-devel@gnu.org; Sun, 26 Mar 2017 05:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cs4O5-0007ay-NH for guix-devel@gnu.org; Sun, 26 Mar 2017 05:23:02 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:33791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cs4O5-0007Zj-Gi for guix-devel@gnu.org; Sun, 26 Mar 2017 05:23:01 -0400 Received: by mail-wr0-x242.google.com with SMTP id 20so4197855wrx.0 for ; Sun, 26 Mar 2017 02:23:01 -0700 (PDT) In-Reply-To: <20170326092335.3912-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: pjotr2017@thebird.nl * gnu/packages/python.scm (python-paramunittest): New variable. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7bda780..a219bb3 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13932,3 +13932,26 @@ possible to write plugins to add your own checks.") ,python2-backports-functools-lru-cache) ("python2-configparser" ,python2-configparser) ,@(package-propagated-inputs pylint)))))) + +(define-public python-paramunittest + (package + (name "python-paramunittest") + (version "0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ParamUnittest" version)) + (sha256 + (base32 + "0kp793hws5xv1wvycxq7jw2pwy36f35k39jg8hx5qikij5a0jid1")))) + (build-system python-build-system) + (home-page + "https://github.com/rik0/ParamUnittest") + (synopsis + "Simple extension to have parametrized unit tests") + (description + "This package allows to create parametrized unit-tests that work with the standard +unittest package. A parametrized test case is automatically converted to multiple test +cases. Since they are TestCase subclasses, they work with other test suites that +recognize TestCases.") + (license license:bsd-3))) -- 2.10.2