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 ms0.migadu.com with LMTPS id ItLxH87mcGFs1QAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 06:04:30 +0200 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 6JFwGs7mcGFZeQAAbx9fmQ (envelope-from ) for ; Thu, 21 Oct 2021 04:04:30 +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 15A5D2BD95 for ; Thu, 21 Oct 2021 06:04:30 +0200 (CEST) Received: from localhost ([::1]:40244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdPJd-0003KW-7a for larch@yhetil.org; Thu, 21 Oct 2021 00:04:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdPJF-0003Il-D5 for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdPJF-0000ME-4a for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdPJE-0005eU-WD for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 04:04:04 +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.163478901621543 (code B ref 51314); Thu, 21 Oct 2021 04:04:04 +0000 Received: (at 51314) by debbugs.gnu.org; 21 Oct 2021 04:03:36 +0000 Received: from localhost ([127.0.0.1]:55955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPIm-0005bP-6n for submit@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPIk-0005b4-QO for 51314@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:35 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 621E124010A for <51314@debbugs.gnu.org>; Thu, 21 Oct 2021 06:03:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634789007; bh=UTrkDq0SVnc8i8y0uRD+AAnPmJh+WtOd39ZgzsdEopo=; h=From:To:Cc:Subject:Date:From; b=ertHHz4AL1Ijy6Nx+Q6mO4WDREAhLDxRD2LYwks8rKTyisRwa1bfDysD6F9EvTRtw vFUku0R/t6+yy3ro2QxShE39dj/6nardVTgQl/3KPTWzNCO7fXnD6i+Kxx/AS3GgKd 9FSOCHCg1smK7/a8RAJlUWB7PCFtDIcT7Z4ofu55cML2bvyh2I9Al14tAqugxeIteX 1yK+OFG0LpQekwoEaD9ygZNrseO87aMzrtmM05BWk6MAhnY/Gh3akzLIWtdgpCuEAY zPm8IuNhYQgbYDG4L4ABkG4pYZ4yvGkWcRUQf16Qtg6LffNtKuTPFd3oI2x9PFiJ3k /BFkiXHgn6qXw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZYk62xTqz6tm9; Thu, 21 Oct 2021 06:03:26 +0200 (CEST) From: Vinicius Monego Date: Thu, 21 Oct 2021 04:01:45 +0000 Message-Id: <20211021040200.241873-10-monego@posteo.net> In-Reply-To: <20211021040200.241873-1-monego@posteo.net> References: <20211021040200.241873-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634789070; 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=O8J8KIZHIc1eG48SJd0lXxp1sg20QW6GXb7XM69i00s=; b=nxBx2wO4V4uBcIHeRrbtPgifkQY0BoInMTuEn6GK+A6yj7ufxMWx9i0Zf+dG1WXwJJzC4r 7UsPBAbDU4GfElMT7hhMItvwtucurFmOBH3YhBV2NNO3scBhZnLo42V7xN2UV5qij+g9eS IhK8VjmyDSuYABWdl9N90GEZmcmaAH3oFrQc+XTOOUYxk1Va4Fn1EZLtDInBEevOQaqEhv Bh1eaU36X4ro/X0P8Yk5z+LWvFIK6joyHnQ7WEPxMIj1MvIxWBAoEB4sBlAgL78m3ZAsun NerE7QnXwF2bK+PwrZ1ZmwC1mz58+fmd7HEZBRWy+H/XOCnSTzexYJuqYjJ0Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634789070; a=rsa-sha256; cv=none; b=jIEQobk4qY080znOhu3OB/jpNHK5Nk6cynFjKA8S5nP0/9hu4psX2M3nPtca/DJwK7tgWf bMCJY6fIVcx1g4W7JYSg+FlF2eEKFlwpbpDCyXXRVqAe9Pyk6+gF9CN5OClGC+lWiR2CJn ynVHH8HDT/qJZTz5wRfj4R3zlZJnj/w4H8YrZJmx5FrW7aYUIFw2YUXXsFLQ/Yrm+kmxtI /C6HvTy8LGPOffAhrtlhTb6/JaRGpTBfvZaSZHNo44nxOSgJRyZ2WZS/0YUCgfBg604H7N GhHmzidLopq+WBK3TpquGCEyOYrNHAIpQTRK7KYt97VJTnGw3RRv2eAMKVd2ww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ertHHz4A; 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-Migadu-Spam-Score: 3.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ertHHz4A; 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-Migadu-Queue-Id: 15A5D2BD95 X-Spam-Score: 3.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: VNBboKyr3fJo * 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 f321d0b0f6..3cc0f80828 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -745,6 +745,35 @@ in Pytest.") "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 + `(("python-pytest" ,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