From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0DnvON6BVF9vGAAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 06:29:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YAK5NN6BVF/PZAAAbx9fmQ (envelope-from ) for ; Sun, 06 Sep 2020 06:29:50 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A82BA94028F for ; Sun, 6 Sep 2020 06:29:50 +0000 (UTC) Received: from localhost ([::1]:53764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEnX9-0003FH-LT for larch@yhetil.org; Sun, 06 Sep 2020 01:48:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnX0-0002yd-FC for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEnX0-0006qw-73 for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEnX0-0004dO-61 for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 03/10] gnu: Add python-pytest-toolbox. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937124817695 (code B ref 43233); Sun, 06 Sep 2020 05:48:02 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:28 +0000 Received: from localhost ([127.0.0.1]:44538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWS-0004bK-0B for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:28 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWP-0004av-Rj for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 31E0E2400FB for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371240; bh=wCXsZpjUCKSSDuz73OdcHZ5WJRKDkin94bnB4FfsvLU=; h=From:To:Cc:Subject:Date:From; b=Yc0whPeSObDNwXzWpPluy6Bax0OmFn9q7kUrOB1RLzDMNKSiau/kZ324sZI0ertJJ k8wPjmhqDT/MAPSDerAF1y/HuqX8fNpbaMKSf88+jMtx+yhf6qQEimI1yxBWP6D1jy noC2CGcQ2XTIME9V5PyP0D1xZkZpu8yEYvbHMVstBiRqV9kyRgPq32N0DObUhGRjA+ Kc5HnB/truWaTJ07c4nz8FD7WHgMX1j0uB0qjGbO5IHQQctcYjqrL1fSpv2ObPwIAH ZXQuc2rnsKTK/sGuiVs5mNZ830on3jZFMiXju4sh1UUIrS8cv9h/h6Sf+hAF0Hj79j HLJ23uvgI80bw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRC016Wz9rxL; Sun, 6 Sep 2020 07:47:18 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:46 -0300 Message-Id: <20200906054653.467-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=Yc0whPeS; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: o3LcPx+kLd91 * gnu/packages/python-check.scm (python-pytest-toolbox): New variable. --- gnu/packages/python-check.scm | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b8a0d67f3d..c0de32b207 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -698,6 +698,49 @@ rounds that are calibrated to the chosen timer.") service processes for your tests with pytest.") (license license:expat))) +(define-public python-pytest-toolbox + (package + (name "python-pytest-toolbox") + (version "0.4") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/samuelcolvin/pytest-toolbox") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wqkr3g5gmqdxmhzfsxbwy8pm3cadaj6a8cxq58w9bacly4hqbh0")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-docutils" ,python-docutils) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-pydantic" ,python-pydantic) + ("python-pyflakes" ,python-pyflakes) + ("python-pygments" ,python-pygments) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-isort" ,python-pytest-isort) + ("python-pytest-mock" ,python-pytest-mock) + ("python-pytest-sugar" ,python-pytest-sugar))) + (home-page "https://github.com/samuelcolvin/pytest-toolbox") + (synopsis "Numerous useful plugins for Pytest") + (description + "Pytest Toolbox contains many useful plugins for Pytest. Among them are +new fixtures, new methods and new comparison objects.") + (license license:expat))) + (define-public python-pytest-aiohttp (package (name "python-pytest-aiohttp") -- 2.20.1