From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56909) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3hrs-0002T8-If for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3hrq-0002aZ-4q for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i3hrp-0002Yn-Qe for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i3hrp-0003rD-F1 for guix-patches@gnu.org; Fri, 30 Aug 2019 10:27:09 -0400 Subject: [bug#37234] [PATCH 12/21] gnu: Add python-pytest-aiohttp. Resent-Message-ID: From: Marius Bakke Date: Fri, 30 Aug 2019 16:25:30 +0200 Message-Id: <20190830142539.28376-12-mbakke@fastmail.com> In-Reply-To: <20190830142539.28376-1-mbakke@fastmail.com> References: <20190830142539.28376-1-mbakke@fastmail.com> 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: 37234@debbugs.gnu.org * gnu/packages/check.scm (python-pytest-aiohttp): New public variable. --- gnu/packages/check.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index e81cd50b66..fa9de0761d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -791,6 +791,28 @@ and many external plugins.") ;; XXX: Tests require similarly ancient versions of many dependencies. `(#:tests? #f)))) +(define-public python-pytest-aiohttp + (package + (name "python-pytest-aiohttp") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest-aiohttp" version)) + (sha256 + (base32 + "0kx4mbs9bflycd8x9af0idcjhdgnzri3nw1qb0vpfyb3751qaaf9")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp))) + (home-page "https://github.com/aio-libs/pytest-aiohttp/") + (synopsis "Pytest plugin for aiohttp support") + (description + "This library allows using the @code{aiohttp} pytest plugin without having +to explicitly load it like @code{pytest_plugins = aiohttp.pytest_plugin}.") + (license license:asl2.0))) + (define-public python-pytest-cov (package (name "python-pytest-cov") -- 2.22.1