From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46811) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irBU1-0001JU-1M for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irBTz-0008KJ-Kj for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irBTz-0008K3-HV for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irBTz-0005QD-I5 for guix-patches@gnu.org; Mon, 13 Jan 2020 20:59:03 -0500 Subject: [bug#39128] [PATCH 05/12] gnu: add python-httmock. Resent-Message-ID: From: Julien Lepiller Date: Tue, 14 Jan 2020 02:57:32 +0100 Message-Id: <20200114015739.14432-5-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-check.scm (python-httmock): New variable. --- gnu/packages/python-check.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 45616dcccb..ca1d62428c 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -312,3 +312,25 @@ framework.") of the code is covered by them. This tool is part of the Codacy suite for analysing code quality.") (license license:expat))) + +(define-public python-httmock + (package + (name "python-httmock") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "httmock" version)) + (sha256 + (base32 + "1zj1fcm0n6f0wr9mr0hmlqz9430fnr5cdwd5jkcvq9j44bnsrfz0")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)); no tests + (propagated-inputs + `(("python-requests" ,python-requests))) + (home-page "https://github.com/patrys/httmock") + (synopsis "Mocking library for requests.") + (description "This package provides a library for replying fake data to +Python software under test, when they make an HTTP query.") + (license license:asl2.0))) -- 2.24.0