GNU bug report logs - #67798
[PATCH] gnu: Add python-find_libpython.

Previous Next

Package: guix-patches;

Reported by: Cayetano Santos <csantosb <at> inventati.org>

Date: Tue, 12 Dec 2023 16:36:02 UTC

Severity: normal

Tags: patch

Done: Cayetano Santos <csantosb <at> inventati.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Cayetano Santos <csantosb <at> inventati.org>
To: 67798 <at> debbugs.gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>
Subject: [bug#67798] [PATCH] gnu: Add python-find_libpython.
Date: Tue, 12 Dec 2023 17:34:41 +0100
* gnu/packages/python-xyz.scm (python-find_libpython): New variable.

Signed-off-by: Cayetano Santos <csantosb <at> inventati.org>
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

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")

base-commit: 17b407ccb673020bfd923e0b5814574f9567383d
-- 
2.41.0





This bug report was last modified 1 year and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.