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 ms0.migadu.com with LMTPS id 2BDjM4wakGH/OgAAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 21:05:32 +0100 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 +M+AL4wakGHtUgAAB5/wlQ (envelope-from ) for ; Sat, 13 Nov 2021 20:05:32 +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 3E33E2B6A3 for ; Sat, 13 Nov 2021 21:05:32 +0100 (CET) Received: from localhost ([::1]:39714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlzHH-0005zQ-Cx for larch@yhetil.org; Sat, 13 Nov 2021 15:05:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlzFt-0004t1-Ak for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlzFt-00081E-1U for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlzFs-0001KY-TZ for guix-patches@gnu.org; Sat, 13 Nov 2021 15:04:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Nov 2021 20: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.16368338214966 (code B ref 51314); Sat, 13 Nov 2021 20:04:04 +0000 Received: (at 51314) by debbugs.gnu.org; 13 Nov 2021 20:03:41 +0000 Received: from localhost ([127.0.0.1]:48180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzFU-0001I0-Sl for submit@debbugs.gnu.org; Sat, 13 Nov 2021 15:03:41 -0500 Received: from mout02.posteo.de ([185.67.36.66]:57961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzFR-0001He-NM for 51314@debbugs.gnu.org; Sat, 13 Nov 2021 15:03:39 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E7CE8240104 for <51314@debbugs.gnu.org>; Sat, 13 Nov 2021 21:03:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636833811; bh=X2WtEMpmjTcRB1hWWJQpH9bRzJm+/CKXQVNlp21Z8CA=; h=From:To:Cc:Subject:Date:From; b=rZoDNOKVQ/wLgkae+dkcbEz6CuVQexZA3Y0O/gSGF7T4g0pXmTGA3lyNapkFxyex8 GYd8vvpJEU4hZYnRGDquSAZzFR3FeBArq3FJkpeabLuF+KICDLt1ZQoAtOiTqX6vLy 4/bafu9gKa1dU+DvtTeyqHS0Vr1QkJSJIuL6C/g8enPA7351Fb/UXkyT2khmvCbUD8 P/bQ9+usDHgQaLTT03534IvPA5Fc1CM7hF1yLVy4mMwN5jWdw0mXAB5jM2NPimMt9J z3sNSuv5JPELP521UNlBM79xmFnTLtmcPGylZJ/LaaN4p22ybqPvDMRn3SN1tOs9WU xKRWQL5EDkh/A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hs5xH0qlWz6tn7; Sat, 13 Nov 2021 21:03:30 +0100 (CET) From: Vinicius Monego Date: Sat, 13 Nov 2021 20:02:16 +0000 Message-Id: <20211113200230.192559-10-monego@posteo.net> In-Reply-To: <20211113200230.192559-1-monego@posteo.net> References: <20211113200230.192559-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=1636833932; 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=Gx6kUIHXqE5HQoskFbhz0Qt2j0G/a2yOcbs3QkGOlpA=; b=GfGY5YwUyfF3S8aJLsYNONYhc7wZInzHrcGdGcA1YbZq0F+0kHB3tTyvX5ySMzTjoWkLAD WTDc7uEcFUf4xurpoe5M1KnHt/K+zefUeoIE+HFKNIHd/+mj8XqZKEwzUCWX5Otr0/OjCf ihXihpuYg6m7iNeUjgnScn9dPo/855gQOyOe3zEEmh7fJunfCXoLDkyP3OlOzBF6WPnfBg eupsjaeYeGXF6KKI6tjxf95cLVwOl9K6AW0zp8DzPYTP7RQT1A+HU/9fMIdnd0W3miXw9f i3uYthiQYx+fjuUIxMYXhb0d3HCUh8SPQBQKQEd+uuNx6ojDYDi7Ju4vepfC5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636833932; a=rsa-sha256; cv=none; b=CZL92iuypCRVCX8SBWkUi+dmNwVzY+yzDn5Ur953dwpl1c4hKo3Qy/xXKnAtFgOMh1W+db B0NdvhX8wrfkUhYrtHI7lxoDyjJWmrvc2nUS3kKfN0yJ7A1bFnRQ7o2LyqHdomo5uJuBdN YPolkAAvOeXIJlilHyAV0ar7Wi1tNKxaQqyBMJje8IIGDmQ0jX2JgGVuYAyji17PdcKJ8m EiueffzlbwWuES2N/3LwFLQ5syVc7ohQ+YtvA2bmhjCx5cjf8hkU2Xbx/4VvHLfUDypskw 9SXWG2GULY4F7w07MSj34wngtpYJCt7HRRObHmOdBaQDwrgRvMy5DUM57QoGaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rZoDNOKV; 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.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rZoDNOKV; 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: 3E33E2B6A3 X-Spam-Score: 3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: gUOsjbfBMdfY * 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 5b230934a5..4205e6bb48 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -752,6 +752,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