From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oANfLwzWGV/MTwAA0tVLHw (envelope-from ) for ; Thu, 23 Jul 2020 18:25:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yDRLKwzWGV8rLwAAB5/wlQ (envelope-from ) for ; Thu, 23 Jul 2020 18:25:16 +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 6B3589409DD for ; Thu, 23 Jul 2020 18:25:16 +0000 (UTC) Received: from localhost ([::1]:37012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyfu7-00039r-CD for larch@yhetil.org; Thu, 23 Jul 2020 14:25:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyftv-0002t2-1I for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyftu-0000eo-OG for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyftu-0008SS-L9 for guix-patches@gnu.org; Thu, 23 Jul 2020 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42069] [PATCH v2 2/6] gnu: Add python-pytest-doctestplus. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42069@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159552865532391 (code B ref -1); Thu, 23 Jul 2020 18:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jul 2020 18:24:15 +0000 Received: from localhost ([127.0.0.1]:45991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyft8-0008QM-PG for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:51314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyft6-0008QE-GT for submit@debbugs.gnu.org; Thu, 23 Jul 2020 14:24:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft6-0002YC-BO for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:12 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyft4-0000YI-NL for guix-patches@gnu.org; Thu, 23 Jul 2020 14:24:12 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E5EDD2400FC for ; Thu, 23 Jul 2020 20:24:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1595528647; bh=exZGS9ODiAhFbzbYIDtGcT8WXJnFb/mHyS9JDjoscm8=; h=From:To:Cc:Subject:Date:From; b=M3Q10UXZcZqIL72nmYV1r2I2t8W4JajUZJI3o19aoXJa8U/P7B3lwEqPMQCZMzeUx 79JW8LK3l2jzulBDU5+zWnTdqaVjsttn6tQ9gvRxRm22Y+ZUpN2Zgk3Ore+8nGjVGr tIUCWwBdd9lPOIR48R8R/Mvb44LEujDEDpHtpGKHCifa/zAOpgrKsYr47TXR06n8Cq hOyItUmQf0R6qb6k/vec7KdM0/pifN7zT/mFkq30gGaHCvK+JExVEDKMX9cZwWyEau ZwibAZIasG3dsti+ozDa0pd4EC6dhHZy4ZXsp1dzGcsKBcc0ePX+KjbQAX7ypCeDiP ydOyT1jK8puMw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BCLMB1Bv1z6tmQ; Thu, 23 Jul 2020 20:24:05 +0200 (CEST) From: Vinicius Monego Date: Thu, 23 Jul 2020 15:23:24 -0300 Message-Id: <20200723182328.49525-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723182328.49525-1-monego@posteo.net> References: <20200626221542.22604-1-monego@posteo.net> <20200723182328.49525-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/23 14:24:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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=M3Q10UXZ; 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: 9TnrKvMbrG39 * gnu/packages/python-check.scm (python-pytest-doctestplus): New variable. --- gnu/packages/python-check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bc0da40cbd..bdcfce7c82 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -152,6 +152,34 @@ data arrays produced during tests, in particular in cases where the arrays are too large to conveniently hard-code them in the tests.") (license license:bsd-3))) +(define-public python-pytest-doctestplus + (package + (name "python-pytest-doctestplus") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-doctestplus" version)) + (sha256 + (base32 "1ai9kvd7xbq2jg2h8gmkb8lqzyrxvdh4zg3vxndg149iwd1hyi7d")))) + (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-pytest" ,python-pytest))) + (home-page "https://github.com/astropy/pytest-doctestplus") + (synopsis "Pytest plugin with advanced doctest features") + (description + "This package contains a plugin for the Pytest framework that provides +advanced doctest support and enables the testing of reStructuredText files.") + (license license:bsd-3))) + (define-public python-pytest-vcr (package (name "python-pytest-vcr") -- 2.20.1