From patchwork Fri Mar 29 08:57:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 62355 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 E930927BBE9; Fri, 29 Mar 2024 08:59:13 +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=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 414B427BBE2 for ; Fri, 29 Mar 2024 08:59:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rq84l-0003Su-C6; Fri, 29 Mar 2024 04:59:03 -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 1rq84j-0003SX-UE for guix-patches@gnu.org; Fri, 29 Mar 2024 04:59:01 -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 1rq84j-0002nA-K0 for guix-patches@gnu.org; Fri, 29 Mar 2024 04:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rq84k-0006kk-HR for guix-patches@gnu.org; Fri, 29 Mar 2024 04:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70067] [PATCH] gnu: Add python-find-libpython. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Mar 2024 08:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70067@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171170272125874 (code B ref -1); Fri, 29 Mar 2024 08:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2024 08:58:41 +0000 Received: from localhost ([127.0.0.1]:41700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rq84P-0006jD-8P for submit@debbugs.gnu.org; Fri, 29 Mar 2024 04:58:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rq84K-0006iq-Av for submit@debbugs.gnu.org; Fri, 29 Mar 2024 04:58:39 -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 1rq84C-0003OH-1d for guix-patches@gnu.org; Fri, 29 Mar 2024 04:58:28 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rq848-0002iR-Cu for guix-patches@gnu.org; Fri, 29 Mar 2024 04:58:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1711702692; bh=9tVqnJ0i3yJM7shYD933V/4sovjtQ20a3v7o+x77/Jg=; h=From:To:Cc:Subject:Date:From; b=ejGMKvdB25Eo8j9X6gEnSQgEUleScDXZZNxmFoyHjdg3MrgH2ZkKuklU6O+/51m9r klImu954/HCr6Bh+WPAjQcxIb9mjlnmeTcBBkRLszkWy1FrWocqR6p+e+0u0Z2BcZb UrUTFgScP1Wgkbpp0BVEoYkmzOTGCrJHqCttKZ2I= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4V5Z7S57cHzGpBL; Fri, 29 Mar 2024 08:58:12 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4V5Z7S46dyzGp5y; Fri, 29 Mar 2024 08:58:12 +0000 (UTC) Date: Fri, 29 Mar 2024 09:57:59 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=csantosb@inventati.org; helo=latitanza.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 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. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) base-commit: 0ff72d105ca03a82de6bb5193266fd05fce72daf diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8a6ef23b58..7008ee6ae9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20886,6 +20886,29 @@ (define-public python-lark-parser some degree most natural languages too.") (license license:expat))) +(define-public python-find-libpython + (package + (name "python-find-libpython") + (version "0.4.0") + (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 + "1z1r9nix2z75sv41j97pnl6jgj2lk6k8la23vavxjpprsc9ld1dd")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest)) + (home-page "https://github.com/ktbarrett/find_libpython") + (synopsis "Find the path to the @code{libpython} dynamic library") + (description "@code{find_libpython} helps find the path to the +@code{libpython} dynamic library for the current Python environment. It is +both a script and a Python package.") + (license license:expat))) + (define-public python-libcst (package (name "python-libcst")