From unknown Sat Sep 06 12:37:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68071 <68071@debbugs.gnu.org> To: bug#68071 <68071@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-ast-decompiler. Reply-To: bug#68071 <68071@debbugs.gnu.org> Date: Sat, 06 Sep 2025 19:37:54 +0000 retitle 68071 [PATCH] gnu: Add python-ast-decompiler. reassign 68071 guix-patches submitter 68071 Troy Figiel severity 68071 normal tag 68071 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 27 18:38:23 2023 Received: (at submit) by debbugs.gnu.org; 27 Dec 2023 23:38:23 +0000 Received: from localhost ([127.0.0.1]:38070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIdTi-0003LU-M2 for submit@debbugs.gnu.org; Wed, 27 Dec 2023 18:38:22 -0500 Received: from lists.gnu.org ([2001:470:142::17]:35488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIdTg-0003LC-4z for submit@debbugs.gnu.org; Wed, 27 Dec 2023 18:38:21 -0500 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 1rIdTb-0004zQ-JN for guix-patches@gnu.org; Wed, 27 Dec 2023 18:38:15 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rIdTQ-0001m5-6H for guix-patches@gnu.org; Wed, 27 Dec 2023 18:38:15 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4T0p3W2Xr4z9sWv for ; Thu, 28 Dec 2023 00:37:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1703720279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=FwqZi5DsZ4k0tGqLDQzGomNznnJKDYBrpPj1OMUGRUc=; b=bGZZi1/YL7kx1RgkbzV0v/9gmJzTf7dTEOpd8sCsUvHZxhQiAECK5K/rJIi72/L0qv/iXd aAgawjXxBRLLNtbb4O7MjXmZvQTCeWlCZQM6R+AQoVkjRcB5JAQayM+Z7pJbfPuYw/UdC6 gKHE1jsnGeS/AizmILAxNeA0lQk1KXiKDOQmFjxNQI56RiRusNMfBWxIvqs3ySR5X0MrPO iQI7lwJlW7GrM1xw1vLJ4luf3Y2shLPvvvznqG3KR7U0KxfyOcOlPIqVzPiFx3P5r/Ou8H mohPiC2yqhcDosT/Ea8CBOXZaVZZdGwzl8lQRDcAwY0IdlTnMx+2BAgkP2IPKA== From: Troy Figiel To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-ast-decompiler. Date: Thu, 28 Dec 2023 00:31:42 +0100 Message-ID: <87r0j7cj3f.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4T0p3W2Xr4z9sWv Received-SPF: pass client-ip=80.241.56.161; envelope-from=troy@troyfigiel.com; helo=mout-p-103.mailbox.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/python-xyz.scm (python-ast-decompiler): New variable. Change-Id: Id0f47c866e72c9f7053da47fdd7aea840a191e62 --- 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 cab44be011..3ad1db7581 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11021,6 +11021,34 @@ (define-public python-pure-eval abstract syntax tree (AST) nodes without side effects.") (license license:expat))) +(define-public python-ast-decompiler + (package + (name "python-ast-decompiler") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ast_decompiler" version)) + (sha256 + (base32 "0dw3fck4ajilphqw4hdpa8pmqxg3jfk2xkmjnk3kx5pqwl3sbhzg")) + ;; We need to manually create an __init__.py file under the tests/ + ;; directory, since it is not included in the distributed + ;; version. (See: + ;; https://github.com/JelleZijlstra/ast_decompiler/issues/52). + (modules '((guix build utils))) + (snippet '(call-with-output-file "tests/__init__.py" + (const #t))))) + (build-system pyproject-build-system) + (native-inputs (list python-flit-core python-pytest)) + (home-page "https://github.com/JelleZijlstra/ast_decompiler") + (synopsis + "Decompile an @acronym{AST, Abstract Syntax Tree} to Python code") + (description + "This library provides functionality to decompile @acronym{AST, Abstract +Syntax Tree} objects, as generated by the standard library @code{ast} module, +to Python code.") + (license license:asl2.0))) + (define-public python-asttokens (package (name "python-asttokens") base-commit: 5bd80ccd69047b1777749e24d4adf2c951b5d14b -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 04:25:44 2023 Received: (at 68071-done) by debbugs.gnu.org; 28 Dec 2023 09:25:44 +0000 Received: from localhost ([127.0.0.1]:38479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIme7-0002ii-O2 for submit@debbugs.gnu.org; Thu, 28 Dec 2023 04:25:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIme5-0002iU-Ml for 68071-done@debbugs.gnu.org; Thu, 28 Dec 2023 04:25:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIme0-0002ZY-JE; Thu, 28 Dec 2023 04:25:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=vwUmaXYEnSbgGCsfi/sBID2G+HPweq/3EAd3jeUyQIc=; b=Kkd1L7XoRdsCexcAvGEf GgMonQsULGoIVEPRCJL+qVo8hAE2D2iUOjWCQLmdSS1dd4qleyT3wxFMgP8ioo1SWn1x6EBff10LF JVZFb+mFJUut5tsSytYGjTP5A2DGL6d8aat9vhy/OozWvFGSKzW7cmacuBUbzSK6Wrzz8AHkdVUaf sQAK67qt+HzMaLgAAh0UWyWjEc2wdrpDvCGdSQ92Mx3gz1vzdbi1lbc+n896ngpnrmE+3yO64gIV5 Mug7mhejvN8jeIpViKvTwfsOtuBszio+Zgjlv60Fun/CQ+D7lB/YipcLL3eD9a/iUZ28UlULikUAL fBfUcgHus8HGFg==; From: Mathieu Othacehe To: Troy Figiel Subject: Re: [bug#68071] [PATCH] gnu: Add python-ast-decompiler. In-Reply-To: <87r0j7cj3f.fsf@troyfigiel.com> (Troy Figiel's message of "Thu, 28 Dec 2023 00:31:42 +0100") References: <87r0j7cj3f.fsf@troyfigiel.com> Date: Thu, 28 Dec 2023 10:25:34 +0100 Message-ID: <87sf3m7k6p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68071-done Cc: 68071-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > * gnu/packages/python-xyz.scm (python-ast-decompiler): New variable. Applied, thanks, Mathieu From unknown Sat Sep 06 12:37:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 25 Jan 2024 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator