From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH 2/3] gnu: Add python-rednose. Date: Thu, 10 Nov 2016 01:09:03 +0100 Message-ID: <20161110000904.29331-3-dannym@scratchpost.org> References: <20161110000904.29331-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4cvf-0006yo-MT for guix-devel@gnu.org; Wed, 09 Nov 2016 19:09:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4cvc-0003dz-32 for guix-devel@gnu.org; Wed, 09 Nov 2016 19:09:19 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:34650) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4cvb-0003cp-TM for guix-devel@gnu.org; Wed, 09 Nov 2016 19:09:16 -0500 In-Reply-To: <20161110000904.29331-1-dannym@scratchpost.org> 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-rednose): New variable. --- gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e957bf2..cb25d4e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12180,3 +12180,35 @@ asynchronous messaging environments.") (synopsis "Console text coloring for Python") (description "This package provides console text coloring for Python.") (license license:bsd-3))) + +(define-public python-rednose + (package + (name "python-rednose") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rednose" version)) + (sha256 + (base32 + "0b0bsna217lr1nykyhl5fgjly15zhdvqd4prg4wy1zrgfv7al6m0")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-deps + (lambda _ + ;; See + (substitute* "setup.py" + (("python-termstyle") "termstyle")) + #t))))) + (propagated-inputs + `(("python-colorama" ,python-colorama) + ("python-termstyle" ,python-termstyle))) + (native-inputs + `(("python-six" ,python-six) + ("python-nose" ,python-nose))) + (home-page "https://github.com/JBKahn/rednose") + (synopsis "Colored output for Python nosetests") + (description "This package provides colored output for Python nosetests.") + (license license:bsd-3)))