From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: [PATCH 13/16] gnu: Add python-nose2. Date: Sun, 11 Sep 2016 21:58:54 +0300 Message-ID: <20160911185857.2123-14-efraim@flashner.co.il> References: <20160911185857.2123-1-efraim@flashner.co.il> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj9yJ-00036n-Tw for guix-devel@gnu.org; Sun, 11 Sep 2016 14:59:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bj9yI-0008CT-Sv for guix-devel@gnu.org; Sun, 11 Sep 2016 14:59:19 -0400 Received: from flashner.co.il ([178.62.234.194]:52858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj9yI-00087a-Mn for guix-devel@gnu.org; Sun, 11 Sep 2016 14:59:18 -0400 Received: from localhost (85.64.232.168.dynamic.barak-online.net [85.64.232.168]) by flashner.co.il (Postfix) with ESMTPSA id DE8EA40389 for ; Sun, 11 Sep 2016 18:59:15 +0000 (UTC) In-Reply-To: <20160911185857.2123-1-efraim@flashner.co.il> 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 * gnu/packages/python.scm (python-nose2): New variable. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 81c706d..94ebd7d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1505,6 +1505,37 @@ matching them against a list of media-ranges.") (define-public python2-nose (package-with-python2 python-nose)) +(define-public python-nose2 + (package + (name "python-nose2") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nose2" version)) + (sha256 + (base32 + "1x4zjq1zlyrh8b9ba0cmafd3w94pxhid408kibyjd3s6h1lap6s7")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) ; 'module' object has no attribute 'collector' + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (inputs + `(("python-cov-core" ,python-cov-core) + ("python-pytest-cov" ,python-pytest-cov) + ("python-six" ,python-six))) + (home-page "https://github.com/nose-devs/nose2") + (synopsis "Next generation of nicer testing for Python") + (description + "Nose2 is the next generation of nicer testing for Python, based on the +plugins branch of unittest2. Nose2 aims to improve on nose by providing a +better plugin api, being easier for users to configure, and simplifying internal +interfaces and processes.") + (license license:bsd-2))) + +(define-public python2-nose2 + (package-with-python2 python-nose2)) + (define-public python-unittest2 (package (name "python-unittest2") -- 2.10.0