From patchwork Mon Feb 12 14:58:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=B6ren_Tempel?= X-Patchwork-Id: 60195 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 2169627BBEA; Mon, 12 Feb 2024 15:00:32 +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=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 7F46F27BBE2 for ; Mon, 12 Feb 2024 15:00:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZXmu-0006z2-Vj; Mon, 12 Feb 2024 10:00:04 -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 1rZXmt-0006yE-3X for guix-patches@gnu.org; Mon, 12 Feb 2024 10:00:03 -0500 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 1rZXms-0003sg-QG; Mon, 12 Feb 2024 10:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZXmt-0006rJ-ET; Mon, 12 Feb 2024 10:00:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH] gnu: Add python-itanium-demangle. Resent-From: soeren@soeren-tempel.net Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2024 15:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69074@debbugs.gnu.org Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69074-submit@debbugs.gnu.org id=B69074.170774994825998 (code B ref 69074); Mon, 12 Feb 2024 15:00:03 +0000 Received: (at 69074) by debbugs.gnu.org; 12 Feb 2024 14:59:08 +0000 Received: from localhost ([127.0.0.1]:35348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZXm0-0006lF-1P for submit@debbugs.gnu.org; Mon, 12 Feb 2024 09:59:08 -0500 Received: from magnesium.8pit.net ([2001:19f0:6c01:4ae:5400:ff:fe66:af9d]:36193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZXlx-0006kx-KV; Mon, 12 Feb 2024 09:59:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=opensmtpd; bh=9cHkwtXRnm by5UboJbYDARkfcatzZ/fZhhM+0B65o4c=; h=references:in-reply-to:date: subject:to:from; d=soeren-tempel.net; b=k9u2Kw2IfKRfWPupEGZUsGAF5vaNEb HQI13+tSssLDwZQt6khgV2thu8pT65sFlykjc6RTjC8jzIJz29LLfytD7lVFpXYAVN6rHY g1oNZyIjKux70m72LmS4tYvFE94w7+6gsDCF3vlkuve34RTbrK6uwuVS2fiHVzu0PUKtM+ 8= Received: from localhost (dynamic-2a02-3102-49da-001b-6371-147f-665b-ad6e.310.pool.telefonica.de [2a02:3102:49da:1b:6371:147f:665b:ad6e]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id f3a058b8 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Mon, 12 Feb 2024 15:58:45 +0100 (CET) From: soeren@soeren-tempel.net Date: Mon, 12 Feb 2024 15:58:16 +0100 Message-ID: <19ef0993fd8891d02402943609f70de73e0b233a.1707749005.git.soeren@soeren-tempel.net> X-Mailer: git-send-email 2.43.1 In-Reply-To: References: MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Sören Tempel * gnu/packages/python-xyz.scm (python-itanium-demangle): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c68b17b0ab..e630bdb6a6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -146,6 +146,7 @@ ;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; Copyright © 2023 Attila Lendvai ;;; Copyright © 2023, 2024 Troy Figiel +;;; Copyright © 2024 Sören Tempel ;;; ;;; This file is part of GNU Guix. ;;; @@ -32302,6 +32303,36 @@ (define-public python-opcodes and BMI2).") (license license:bsd-2)))) +(define-public python-itanium-demangle + (package + (name "python-itanium-demangle") + (version "1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whitequark/python-itanium_demangler") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1q47aqm5z3db6pasdzw05d6236vnb8hnapfy88fcmn9dr5ym98r3")))) + (build-system pyproject-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests" + (invoke "python" "-m" "unittest")))))))) + (home-page "https://github.com/whitequark/python-itanium_demangler") + (synopsis "Pure Python Itanium C++ ABI demangler") + (description + "This Python module provides an implementation of the Itanium C++ +ABI symbol mangling language. The demangler generates an abstract +syntax tree from mangled symbols, which can be used for directly +extracting type information.") + (license license:bsd-0))) + (define-public python-peachpy ;; There is no tag in this repo. (let ((commit "913d74c35a6b1d330e90bfc055208ce5b06b35a0")