From patchwork Tue Mar 25 07:56:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40805 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 E3BD027BBEA; Tue, 25 Mar 2025 07:59:28 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 6E20F27BBE2 for ; Tue, 25 Mar 2025 07:59:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1twzBi-0008SV-Vl; Tue, 25 Mar 2025 03:59:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1twzBe-0008Jw-NL for guix-patches@gnu.org; Tue, 25 Mar 2025 03:59:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1twzBe-00022j-DV for guix-patches@gnu.org; Tue, 25 Mar 2025 03:59:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=DefmHnqTFFQij5cDN3SLFGCLnqr4P/KL1AYx3sM7SzU=; b=higOJNgY3VILhbgTEF+U1r2+2s5sFFaxHUdAA4D+Gz0SSV2Swva5oJAHw8EKhY7YvUgVndNKcG2HMG3oQzkd0MNDSlmMFOytcxYzJxA38IKQFRtOeytmEFz8XdETm250kPPnwQfjUi+zeKLZDuPVdaVv6nE0MrUtTXQaYm0aq7f3wtLTisUabDulqzcdRzorZTtXrZb1AOAO0fxjOqlSvufcxI+xQaycX7IJRzOvWtH1bQLmChBc8vYxCzRz7dbLfnY+31Hn/oUB0Ykm/vUZo9uj9f9pv0gCoKLeym4X8mH2/rnV9pipddfBOxnnvFUF5p6/m3rUiy5kWHSicujyMQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1twzBe-0003Gh-5r for guix-patches@gnu.org; Tue, 25 Mar 2025 03:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77246] [PATCH 11/18] gnu: Add python-colored-traceback. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Mar 2025 07:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77246 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77246@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77246-submit@debbugs.gnu.org id=B77246.174288949112425 (code B ref 77246); Tue, 25 Mar 2025 07:59:02 +0000 Received: (at 77246) by debbugs.gnu.org; 25 Mar 2025 07:58:11 +0000 Received: from localhost ([127.0.0.1]:36052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twzAo-0003EK-PU for submit@debbugs.gnu.org; Tue, 25 Mar 2025 03:58:11 -0400 Received: from 8.mo562.mail-out.ovh.net ([46.105.60.65]:34147) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twzA7-0003AQ-39 for 77246@debbugs.gnu.org; Tue, 25 Mar 2025 03:57:27 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4ZMMhk1N5Nz1VPY; Tue, 25 Mar 2025 07:57:26 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77246@debbugs.gnu.org>; Tue, 25 Mar 2025 07:57:26 +0000 (UTC) Received: from mta10.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.188.49]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZMMhk0W33zyCs; Tue, 25 Mar 2025 07:57:26 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.7]) by mta10.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id AFB7CDA2764; Tue, 25 Mar 2025 07:57:25 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-100R0030c42bb90-5184-46b4-9e05-c82ca68fc42b, FB45688AE489E0BEC42E54AE58A1B437771C36DF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 25 Mar 2025 08:56:47 +0100 Message-ID: <20250325075712.22316-11-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250325075712.22316-1-ngraves@ngraves.fr> References: <20250325075712.22316-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 7054325870313267938 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduiedvuddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdetuedtffejieelkedthfelveekvdfffeffkefgffevleekfeffheeiuddttdevnecuffhomhgrihhnpehgihhthhhusgdrtghomhdptgholhhorhgvugdqthhrrggtvggsrggtkhdrphihnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjedvgeeiseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=DefmHnqTFFQij5cDN3SLFGCLnqr4P/KL1AYx3sM7SzU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1742889446; v=1; b=3GHkHKuHKS3RcNmgbL5UDYXmEzvtr2lRqcbKmqHL8ZTAtHhGsUuYPaYb2focruequbWep7+H K73wiy9OKUHuE9dKJfAtca9b3sSJA2fEjeAP9updQQwstwELFBkJJhghrC+PsDqg0Z7LjuerPFf jgNgHoc5c/kBH3FJOaAcsdlQ25WHcKdfV/ZJ+it/XyjBbpvcfHoJeVaL0WOWs6V5vN5mlyxx8WD I9nEL2wFgHgZYeRIgx9Fu7ubGWUt8Q4RiJzbX14GyMMAMaaNwcKrzSBmBdMQtgz5lKOe5fY0hos 27pHH/x9WC4aVUZ8E7eFcCrciVAua87b+lRl4EbHFhMKg== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-colored-traceback): New variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 26b4a76670..5c849ca6a2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1595,6 +1595,34 @@ (define-public python-colored names for 256 color terminal setups.") (license license:expat))) +(define-public python-colored-traceback + ;; No tags in upstream repository. + (let ((commit "98e6dea7111f7681db823c518f18026374a832b9") + (revision "0")) + (package + (name "python-colored-traceback") + (version (git-version "0.4.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/staticshock/colored-traceback.py") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19d5mpwk7398b8fjh6abnr96wz70vf5vb4p207r8sny748rwx451")))) + (build-system pyproject-build-system) + (arguments + ;; Tests are incompatible with current python version. + (list #:tests? #f)) + (propagated-inputs (list python-colorama python-pygments)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://github.com/staticshock/colored-traceback.py") + (synopsis "Automatically color uncaught exception tracebacks") + (description "This package provides python utilities to automatically +color uncaught exception tracebacks.") + (license license:isc)))) + (define-public python-colorful (package (name "python-colorful")