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 Voa7EnbDnV8aGAAA0tVLHw (envelope-from ) for ; Sat, 31 Oct 2020 20:05:10 +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 CPDlDXbDnV/fYAAAB5/wlQ (envelope-from ) for ; Sat, 31 Oct 2020 20:05:10 +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 E3829940416 for ; Sat, 31 Oct 2020 20:05:09 +0000 (UTC) Received: from localhost ([::1]:38586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYx7c-0007uX-Nj for larch@yhetil.org; Sat, 31 Oct 2020 16:05:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYx7W-0007uP-LT for guix-patches@gnu.org; Sat, 31 Oct 2020 16:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYx7W-0005Vf-CK for guix-patches@gnu.org; Sat, 31 Oct 2020 16:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYx7W-0007DW-8D for guix-patches@gnu.org; Sat, 31 Oct 2020 16:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44359] [PATCH 1/2] gnu: Add python-re-assert. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 31 Oct 2020 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44359 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44359@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160417465227679 (code B ref -1); Sat, 31 Oct 2020 20:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Oct 2020 20:04:12 +0000 Received: from localhost ([127.0.0.1]:34608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYx6h-0007CM-Qc for submit@debbugs.gnu.org; Sat, 31 Oct 2020 16:04:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:55582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYx6g-0007CD-LQ for submit@debbugs.gnu.org; Sat, 31 Oct 2020 16:04:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYx6g-0007q1-Fy for guix-patches@gnu.org; Sat, 31 Oct 2020 16:04:10 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYx6c-0005Rw-BJ for guix-patches@gnu.org; Sat, 31 Oct 2020 16:04:10 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C1BF016005F for ; Sat, 31 Oct 2020 21:04:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1604174640; bh=q+fIzGhhcn+nuQyqBkBpzXzP+9ocUgc4TTKwdvCOW2g=; h=From:To:Cc:Subject:Date:From; b=N/4880yj3rv6fXF7YiWrqDQ2GYl2+/gaivhDbKf+cLdWUcvyKLV6tPZNBW9ZeHV1G wA379K/pZxCEAookasUAsya+RByjd9SNGusIgyhdi4n9/BNcoKYNQaj2PXfz1gW4CW fE9iUrn9vqeaDIp1ugcYDEFC5/+/vCYJRchaH0vJzkVZ3btntlt49urXIx1m7VDbay 8nI1vemLPLsRSklUVm8Ayc97268kex2DQG7jFQ9dWugJSz6uD02Dmc17Dnv9b5nLNW YggHKFGOLmGCUCIlNG7jNjAuDBcXq1YDG0u+HG5/Qmss6BPHflNn9FjgxwTpr2UUPP I66eZl56h9jXQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CNqrH0qBkz6tm8; Sat, 31 Oct 2020 21:03:58 +0100 (CET) From: Vinicius Monego Date: Sat, 31 Oct 2020 17:03:43 -0300 Message-Id: <20201031200343.6213-1-monego@posteo.net> X-Mailer: git-send-email 2.29.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/31 13:34:05 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=N/4880yj; 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: Q3TFGk4PSUoJ * gnu/packages/python-check.scm (python-re-assert): New variable. --- gnu/packages/python-check.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 498f495584..944f226a41 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -436,6 +436,40 @@ in Pytest.") of the project to ensure it renders properly.") (license license:expat))) +(define-public python-re-assert + (package + (name "python-re-assert") + (version "1.1.0") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/asottile/re-assert") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1rssq4wpqmx1c17hjfx5l3sn3zmnlz9jffddiqrs4f6h7m6cadai")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-covdefaults" ,python-covdefaults) + ("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-regex" ,python-regex))) + (home-page "https://github.com/asottile/re-assert") + (synopsis "Show where your regex match assertion failed") + (description + "@code{re-assert} provides a helper class to make assertions of regexes +simpler.") + (license license:expat))) + (define-public python-pytest-trio (package (name "python-pytest-trio") -- 2.29.1