From patchwork Mon Mar 7 05:37:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 37640 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C37C027BBEA; Mon, 7 Mar 2022 05:39:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 923FB27BBE9 for ; Mon, 7 Mar 2022 05:39:10 +0000 (GMT) Received: from localhost ([::1]:40334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nR65N-00023j-Oe for patchwork@mira.cbaines.net; Mon, 07 Mar 2022 00:39:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nR65H-00023S-3V for guix-patches@gnu.org; Mon, 07 Mar 2022 00:39:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nR65G-0004DG-Ml for guix-patches@gnu.org; Mon, 07 Mar 2022 00:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nR65G-0004nJ-EW for guix-patches@gnu.org; Mon, 07 Mar 2022 00:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54284] [PATCH] gnu: Add python-pytest-pudb. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Mar 2022 05:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54284 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54284@debbugs.gnu.org Cc: BonfaceKilz , jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164663153918417 (code B ref -1); Mon, 07 Mar 2022 05:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Mar 2022 05:38:59 +0000 Received: from localhost ([127.0.0.1]:52186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR65C-0004mz-T8 for submit@debbugs.gnu.org; Mon, 07 Mar 2022 00:38:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:59028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR65B-0004mq-Qq for submit@debbugs.gnu.org; Mon, 07 Mar 2022 00:38:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nR65B-000223-8e for guix-patches@gnu.org; Mon, 07 Mar 2022 00:38:57 -0500 Received: from mx1.dismail.de ([78.46.223.134]:22307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nR659-0004CK-90 for guix-patches@gnu.org; Mon, 07 Mar 2022 00:38:57 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c4492ddd; Mon, 7 Mar 2022 06:38:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=/e2Pm+T+oeMf5L4dzpSLYI+iyokBAU+ss9ZcVY4BCAw=; b= hmgZY2YQ1L6V8/UItQAOw7S2M7v1sNPJSb369NobRF1KEzcn1S0QE4wtF8aMzAfP CNWSiPecuy52B5h41jGJKaa5HNNflaHp+oYyEYbXx02fgyxfZN+4+ZIZFDnP7SZn TbBKsd8rTVC/vbEcy+6D6OOyMBqJR1TtaSjG5IFdRzOKT/e2ITrox6M5I+n7YK0F Dif17PY9B3l2R1LhVwFw0lWVey3UxYZFfsxIE4kZ+MG/vh0ufx23Jgb2vYUtsuCJ qhoGiqqODnL20IjvoJP83KRPw0pfLRdZTtpULEAaD8JqAiMuvlD+N8sC6swzWkgo 4CjfINp+ErBIF716Lu2mYA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 366e927d; Mon, 7 Mar 2022 06:38:24 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id f158b27e; Mon, 7 Mar 2022 06:38:24 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 072ed977 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 7 Mar 2022 06:38:18 +0100 (CET) Date: Mon, 7 Mar 2022 00:37:25 -0500 Message-Id: <20220307053725.25934-1-jgart@dismail.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pytest-pudb): New variable. Co-authored-by: BonfaceKilz --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d3d7b7160d..ba0c8489f6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28704,6 +28704,41 @@ (define-public pudb keyboard-friendly package.") (license license:expat))) +(define-public python-pytest-pudb + ;; PyPi does not include tests + (let ((commit "a6b3d2f4d35e558d72bccff472ecde9c9d9c69e5") + (revision "0")) + (package + (name "python-pytest-pudb") + (version "0.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wronglink/pytest-pudb") + (commit commit))) + (file-name (string-append name "-" commit)) + (sha256 + (base32 "1c0pypxx3y8w7s5bz9iy3w3aablnhn81rnhmb0is8hf2qpm6k3w0")))) + (build-system python-build-system) + (propagated-inputs (list pudb)) + (native-inputs + (list python-pytest)) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-v"))))))) + (home-page "https://github.com/wronglink/pytest-pudb") + (synopsis "Pytest PuDB debugger integration") + (description + "@code{python-pytest-pudb} provides PuDB debugger integration based on + pytest PDB integration.") + (license license:expat)))) + (define-public python-iwlib (package (name "python-iwlib")