From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:f42::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mOA1OEtNymF6eQAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 00:33:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wLBANUtNymFrYwAAauVa8A (envelope-from ) for ; Tue, 28 Dec 2021 00:33:31 +0100 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 8FF1B4761 for ; Tue, 28 Dec 2021 00:33:31 +0100 (CET) Received: from localhost ([::1]:37948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1zUg-0001vs-QI for larch@yhetil.org; Mon, 27 Dec 2021 18:33:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1zUF-0001QE-5C for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1zUE-0001fm-SQ for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1zUE-0000uW-QZ for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 23:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.16406479333271 (code B ref 51314); Mon, 27 Dec 2021 23:33:02 +0000 Received: (at 51314) by debbugs.gnu.org; 27 Dec 2021 23:32:13 +0000 Received: from localhost ([127.0.0.1]:44586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zTQ-0000qb-LS for submit@debbugs.gnu.org; Mon, 27 Dec 2021 18:32:12 -0500 Received: from mout02.posteo.de ([185.67.36.66]:48691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zTK-0000oc-2r for 51314@debbugs.gnu.org; Mon, 27 Dec 2021 18:32:06 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7B817240101 for <51314@debbugs.gnu.org>; Tue, 28 Dec 2021 00:32:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640647920; bh=wkDhGBtVbw2htbMFu2nqHLgOEnVOnVB13wYkmecMTdY=; h=From:To:Cc:Subject:Date:From; b=V0tcRG/lucwXPva/RJaeymhdtdACOaLUJGX34tN+Eg77ylmLeWqJSkVzYwn8YSCOP DuiCi1gjwkUYlri87upigqImqOyh0m36SEjWZHO3cKrkzjtaytGRjSMcbEGR8QYJOr J/BPoJ8nAmNpsvZKwttPKXNGaeUPtHqQG3PuwdD6Z6i+ajUVGVKbAGHQjdr5Ktc16Y 2rchax22u4MxaWXT+ec0Aw5bZIgzEXofD++uKv4Hky8YuPc6JyjUk+AyZ1ckieuIOh GX2WLgpgQQXbKOOOwoqIcgvazsjwoP77UZ0t2Efi3xxAGyUBKI5n24ZRji3184LM0D LflcncUyyx67w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JNDTW4sHCz9rxD; Tue, 28 Dec 2021 00:31:59 +0100 (CET) From: Vinicius Monego Date: Mon, 27 Dec 2021 23:30:31 +0000 Message-Id: <20211227233044.26475-9-monego@posteo.net> In-Reply-To: <20211227233044.26475-1-monego@posteo.net> References: <20211227233044.26475-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640648011; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Cg61nhjDIv7bG8mUSgU5VYUyLmHt4/YrTQfYTr+qBjg=; b=oFv6BL830SIzzzu7FCd1rEgh4hsNmf+kkycLdTJUTuQWQIOq+R1sXrOd2c/cpDWyAJXY0o 1VjWqmvDD+9DANYH6G8Kd+iq2U3YWE0Lrq4rrnMl3zjdlSWYqT/H4+x5dqUqG3aKlMwqTs mrXK2DMC81+1KU5pNOTN4Ug2j8X75BKxmaud09oZFgwAuJI2mz7sYwbs/7WfEcRKLUhovM oTwz/Akrs8pNh1txN5zjyDN0LZiRhdbPo+zNqKfyIn9017s8ppFkVT7mbBneCT636a/WBF Y5awjM8Dr8y2tPIHzc9N6vt0+eb4V3EeMHDk0Zm3ORj911ACU+VEQ8Hgq8cLBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640648011; a=rsa-sha256; cv=none; b=DxjKwHbNPO8jzWm0ESknaLyuBPzfdl9pHUf+JsJgSuzJpPgwEK9/bQpZNzP3drwKiaM6xA F40LdK1uAkLl3n/Pf1JIK5a+dFAgIWjpz9hVmWQ/QK1+AwunJ0NH7f1dlVi5T1I1bL26cn WihuLoszOnkOg6hONtrXRuccV8v2/yHU+xbZXbcgTWr7qWbzP1t9buwrEIjb8vkFUST7j+ 1865gO8EKQtER/Isr+z5a+IvPfS1YO0z8edPfUr714fUFuMMBhtnbBeNM5hbnAKHAwHPDq 6RWQe0e8ahUFy1Lxgo3Upz1Cks9oNu8CfnX1hijtGovYF0HQ680Dt8bOXhT0zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="V0tcRG/l"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="V0tcRG/l"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8FF1B4761 X-Spam-Score: -0.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: bBn9FusgoEfE * gnu/packages/python-check.scm (python-pytest-doctest-custom): New variable. --- gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index a2ac9a201b..8e84c64d65 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -776,6 +776,35 @@ support and @code{subtests} fixture.") "Plugin for managing VCR.py cassettes.") (license license:expat)))) +(define-public python-pytest-doctest-custom + (package + (name "python-pytest-doctest-custom") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-doctest-custom" version)) + (sha256 + (base32 "0kxkdd6q9c3h31kc88lbyfll4c45b0zjd24cbr4c083fcvcy7lip")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "test_pytest_doctest_custom.py"))))))) + (native-inputs + (list python-pytest)) + (home-page "https://github.com/danilobellini/pytest-doctest-custom") + (synopsis + "Pytest plugin to customize string representations of doctest results") + (description "This package provides a Pytest plugin for customizing string +representations of doctest results. It can change the display hook used by +doctest to render the object representations.") + (license license:expat))) + (define-public python-pytest-checkdocs (package (name "python-pytest-checkdocs") -- 2.30.2