From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46865) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irBU2-0001LK-FM for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irBU1-0008NA-Ar for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irBU1-0008Ms-7P for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irBU1-0005Qh-7B for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:05 -0500 Subject: [bug#39128] [PATCH 09/12] gnu: Add python-iocapture. Resent-Message-ID: From: Julien Lepiller Date: Tue, 14 Jan 2020 02:57:36 +0100 Message-Id: <20200114015739.14432-9-julien@lepiller.eu> In-Reply-To: <20200114015739.14432-1-julien@lepiller.eu> References: <20200114025253.3a99b3c7@tachikoma.lepiller.eu> <20200114015739.14432-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39128@debbugs.gnu.org * gnu/packages/python-xyz.scm (python-iocapture): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 56d98333ea..5041042a0c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17161,3 +17161,25 @@ files. These files are used to translate strings in android apps.") (description "This package provides pattern matching and various utilities for file systems paths.") (license license:expat))) + +(define-public python-iocapture + (package + (name "python-iocapture") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "iocapture" version)) + (sha256 + (base32 + "1s3ywdr0l3kfrrqi079iv16g0rp75akkvx0j07vx9p5w10c0wrw6")))) + (build-system python-build-system) + (native-inputs + `(("python-flexmock" ,python-flexmock) + ("python-pytest-cov" ,python-pytest-cov) + ("python-six" ,python-six))) + (home-page "https://github.com/oinume/iocapture") + (synopsis "stdout and stderr capture in Python") + (description "This package allows Python developpers to capture their standard +output and standard error.") + (license license:expat))) -- 2.24.0