guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 8c91087b68df3c8fe1168efeb0843bd10a468894
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 13 21:28:50 2025 +0000

    gnu: python-llvmlite: Update to 0.45.0.
    
    * gnu/packages/llvm.scm (python-llvmlite): Update to 0.45.0.
    [inputs]: Remove patches for llvm-15; add llvm-20.
    [native-inputs]: Add cmake-minimal.
    
    Change-Id: Icb1f55a64de6e580645e286dc6f7f10dfe985c01
---
 gnu/packages/llvm.scm | 42 ++++++++----------------------------------
 1 file changed, 8 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 3b6dc67a25..66963ef267 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -66,6 +66,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages bootstrap)           ;glibc-dynamic-linker
@@ -1660,14 +1661,14 @@ existing compilers together.")
 (define-public python-llvmlite
   (package
     (name "python-llvmlite")
-    (version "0.44.0")
+    (version "0.45.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "llvmlite" version))
        (sha256
         (base32
-         "1m4lzja9xy82bhwa914p49pkbjckjc5nraspj7nsnl6ilmk7srh7"))))
+         "0dl3m9i4hsph77pmnsy47943r7rywy6syy5bsy5ifjd91p9brc6f"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -1680,39 +1681,12 @@ existing compilers together.")
                 (setenv "CPPFLAGS" "-fPIC")
                 (setenv "LDFLAGS" (string-append "-Wl,-rpath="
                                                  llvm "/lib"))))))))
-    (native-inputs (list python-pytest python-setuptools))
+    (native-inputs
+     (list cmake-minimal
+           python-pytest
+           python-setuptools))
     (inputs
-     (list
-      (let* ((patches-commit
-              "c52dd17d97aa5f3698cf7f8152b8f6551c10132a")
-             (patch-uri (lambda (name)
-                          (string-append
-                           "https://raw.githubusercontent.com/numba/";
-                           "llvmlite/"
-                           patches-commit
-                           "/conda-recipes/"
-                           name)))
-             (patch-origin (lambda (name hash)
-                             (origin (method url-fetch)
-                                     (uri (patch-uri name))
-                                     (sha256 (base32 hash)))))
-             (arch-independent-patches
-              (list (patch-origin
-                     "llvm15-clear-gotoffsetmap.patch"
-                     "097iypk4l1shyrhb72msjnl7swlc78nsnb7lv507rl0vs08n6j94")
-                    (patch-origin
-                     "llvm15-remove-use-of-clonefile.patch"
-                     "01qxzr15q3wh1ikbfi8jcs83fh27fs2w6damf7giybs6gx4iynnd")
-                    (patch-origin
-                     "llvm15-svml.patch"
-                     "15n5vph2m7nd0jlf75n3h63h89m1kf4zn4s2jd1xmjrs848lgg87"))))
-        (package
-          (inherit llvm-15)
-          (source
-           (origin
-             (inherit (package-source llvm-15))
-             (patches (append arch-independent-patches
-                              (origin-patches (package-source llvm-15))))))))))
+     (list llvm-20))
     (home-page "https://llvmlite.pydata.org";)
     (synopsis "Wrapper around basic LLVM functionality")
     (description

Reply via email to