From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QFN6BspQkWWefQEAkFu2QA (envelope-from ) for ; Sun, 31 Dec 2023 12:30:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2KNHAMpQkWX5gAAAe85BDQ (envelope-from ) for ; Sun, 31 Dec 2023 12:30:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b="FT+n/kib"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704022217; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=8Ik72Vl4uilcEYgPJtjn0YxA3NkLQv2LhpJGqJM5uro=; b=Df8FmPW+emQGaROUCh7HGyfNAF9U2BXGe3xgmMp0XBcj/2j7GtR5rLIlBThlnAmGkeMFKl TqkPr3/fiaMQBQ5LVsaRfbNiLzFmsItOLS1g0RjdaDrpuRLOG2ADAB75iwKOqpMFeY+Az6 S/XhQ7IzENiyGqKmPhG8iKoGvsGgEY0XsB7tGhUyNXUksirBR5r7N5vjktSFYGGquo5NvT vYZyn+v6MW6KYeKFKeEan33ucBq3eEuLJ2uEhl+5f0VLv7Mu84JP/JgHueUcOly4X2Q4au dmZiNtsYaIAu5sgx57xV5D5tfCJZwwD8N7MAX31XLCycpRVt10ffsn184cfjaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704022217; a=rsa-sha256; cv=none; b=bmxgI/hzLTnImXLOGm+oTtP0YiSjJgfRtVBO05qT7CqQ7eMrPav2PpaBneyx8RfCQPbduI 02vZj/dtPCDBP3Tp4GgtsU8l+yfi41Ogcpss/dXhOpha3nHZbmqgtvVJzRTATf4YuYBgWi UTiNIYYWuprzr+pR/rvco1uq2mbj9TZhRC0za3EwuQslodbm5U3+8BvnSjmWyt2ew0tO62 7NHhR3tJenO4rrOVqyYbkd+tzWRNDXTmBLTMsRlMWyDPo1Yfjq9AMFngg6jqN/ZITsbTf4 FrGH2TUE5SRMqMPWg6RhwuC7kPQTYuGu41En3Z3CtB+WfE8rZ+PwkkqCTWyINw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b="FT+n/kib"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 82FCB1168E for ; Sun, 31 Dec 2023 12:30:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJu16-0007sN-St; Sun, 31 Dec 2023 06:30: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 1rJu14-0007s2-OS for guix-patches@gnu.org; Sun, 31 Dec 2023 06:30:02 -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 1rJu14-0001KT-DC for guix-patches@gnu.org; Sun, 31 Dec 2023 06:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJu15-0001Xd-DX for guix-patches@gnu.org; Sun, 31 Dec 2023 06:30:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68153] [PATCH] gnu: Add python-find-libpython. References: <3fee261b22e793873c0624d5a4f79a1c7b85118f.1703961850.git.csantosb@inventati.org> In-Reply-To: <3fee261b22e793873c0624d5a4f79a1c7b85118f.1703961850.git.csantosb@inventati.org> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 Dec 2023 11:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68153@debbugs.gnu.org Received: via spool by 68153-submit@debbugs.gnu.org id=B68153.17040221655745 (code B ref 68153); Sun, 31 Dec 2023 11:30:03 +0000 Received: (at 68153) by debbugs.gnu.org; 31 Dec 2023 11:29:25 +0000 Received: from localhost ([127.0.0.1]:45684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJu0T-0001Ub-CW for submit@debbugs.gnu.org; Sun, 31 Dec 2023 06:29:25 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]:39036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJu0R-0001UE-EJ for 68153@debbugs.gnu.org; Sun, 31 Dec 2023 06:29:24 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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-201.mailbox.org (Postfix) with ESMTPS id 4T2xhp6R6cz9ssm for <68153@debbugs.gnu.org>; Sun, 31 Dec 2023 12:29:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1704022154; 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=8Ik72Vl4uilcEYgPJtjn0YxA3NkLQv2LhpJGqJM5uro=; b=FT+n/kibNqmxGjVxEHeHAbIctvvPVF95EsFLmffUaA5o6poKZL6ZXfMIfe0KWmBLIhR5/4 SuMMYKAQNy+66X9+5AR+PWQbJV1BAc/qjpuTxbeY5YxYY28fj8hVVGha4jpz1G3Sj3Z3Px +uGeWR+IJbKXoEQmcCOLMPMB4tBGX4UjOfDwfwYMPIx6427RdfBNlUPvK010C5Bwf9p81w yp5jOz2LJ5WX5vkwtmRmXx7zTtqaLzBELcsHUK81hPmeqP4H4Lm/0TFT8eQWM4GuZk7hOL 55U2uwQXyGuLmVWRYvitE/sPsj0ZCbJySiN6Du13ZuexbwKIvAsvX7YWF/jsng== From: Troy Figiel Date: Sun, 31 Dec 2023 12:14:07 +0100 Message-ID: <87v88ey5it.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.27 X-Spam-Score: -5.27 X-Migadu-Queue-Id: 82FCB1168E X-Migadu-Scanner: mx12.migadu.com X-TUID: NuhfGOg8UfET * gnu/packages/python-xyz.scm (python-find-libpython): New variable. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2afce6c667..c4bbe14a7c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9159,6 +9159,30 @@ (define-public python-executor particularly the AST node being executed.") (license license:expat))) ; MIT license +(define-public python-find-libpython + (package + (name "python-find-libpython") + (version "0.3.1") + (source + (origin + ;; Only available as a binary release on PyPI. + (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 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))) ; MIT license + (define-public python-roifile (package (name "python-roifile") base-commit: 2a242e86379ebddbdddf2927f26e5e27a98fc605 -- 2.40.1