From patchwork Tue Dec 12 16:34:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 57538 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 B79B427BBEA; Tue, 12 Dec 2023 16:36:38 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 D528927BBE2 for ; Tue, 12 Dec 2023 16:36:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD5jb-00043t-K8; Tue, 12 Dec 2023 11:35:51 -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 1rD5jZ-0003ot-2i for guix-patches@gnu.org; Tue, 12 Dec 2023 11:35:49 -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 1rD5jY-00017M-PE for guix-patches@gnu.org; Tue, 12 Dec 2023 11:35:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rD5jm-0001sA-N0 for guix-patches@gnu.org; Tue, 12 Dec 2023 11:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67798] [PATCH] gnu: Add python-find_libpython. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Dec 2023 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67798 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67798@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17023989557182 (code B ref -1); Tue, 12 Dec 2023 16:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2023 16:35:55 +0000 Received: from localhost ([127.0.0.1]:57321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD5jf-0001rm-76 for submit@debbugs.gnu.org; Tue, 12 Dec 2023 11:35:55 -0500 Received: from lists.gnu.org ([2001:470:142::17]:45624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD5jd-0001rX-Mk for submit@debbugs.gnu.org; Tue, 12 Dec 2023 11:35:54 -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 1rD5jA-0002Mr-8P for guix-patches@gnu.org; Tue, 12 Dec 2023 11:35:28 -0500 Received: from devianza.investici.org ([2c0f:f930:0:4::108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rD5j6-00009L-02 for guix-patches@gnu.org; Tue, 12 Dec 2023 11:35:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1702398909; bh=JuakBSFeT6F0P6bXw3joGnIE/pwJvgY5Wq6BQluwBZs=; h=From:To:Cc:Subject:Date:From; b=YCz+cD6hryEnsZ/FZaCsd9LucxdQ8GLUCK/zRYNdkZOFhG2fJBOqEvrXo+dN0MmgY w8dthCfrPjJZDaNeR1ueQ7Shb380Q7mX0VOHldV4g578sbZeTl36fevVDzhAOyGCBH o4rEoqeAUDgefwYON8+X3yca6epS1RLZrwyVlqT4= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4SqPNY6r4fz6vLW; Tue, 12 Dec 2023 16:35:09 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4SqPNY5fbjz6vKx; Tue, 12 Dec 2023 16:35:09 +0000 (UTC) Date: Tue, 12 Dec 2023 17:34:41 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2c0f:f930:0:4::108; envelope-from=csantosb@inventati.org; helo=devianza.investici.org 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_PASS=-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: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos 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-find_libpython): New variable. Signed-off-by: Cayetano Santos --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) base-commit: 17b407ccb673020bfd923e0b5814574f9567383d diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86f8d81689..2eecb7c55b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19672,6 +19672,28 @@ (define-public python-libcst-minimal (arguments '(#:tests? #f)) (native-inputs '())))) +(define-public python-find_libpython + (package + (name "python-find_libpython") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ktbarrett/find_libpython") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d7y9srf5j8g34azf0j1jnnrn5al55cnzb4kkx2l1q8hys0l040c")))) + (build-system python-build-system) + (home-page "https://github.com/ktbarrett/find_libpython") + (synopsis + "Locate libpython associated with this Python executable") + (description + "The library is designed to find the path to the libpython dynamic library for the current Python environment.") + (license license:expat))) + (define-public python-typing-inspect (package (name "python-typing-inspect")