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

commit 01729f9118c0a22bb405021cbd9be11e90e8f3f4
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jun 16 13:42:28 2026 +0100

    gnu: python-pythran: Unvendor xsimd.
    
    * gnu/packages/python-science.scm (python-pythran):
    [phases]{unvendor-xsimd}: New phase.
    
    Change-Id: I2b8a86d15720d0573099792d74e2c37bc414f850
---
 gnu/packages/python-science.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d321000944..5a9b5beffe 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -4922,7 +4922,15 @@ y, z)}.")
       ;; FIXME: find more reliable tests file(s), all tests from
       ;; test_typing.py fail with error: ModuleNotFoundError: No module named
       ;; 'distutils.msvccompiler'.
-      #:tests? #f))
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'unvendor-xsimd
+            (lambda _
+              (delete-file-recursively "pythran/xsimd")
+              (symlink #$(package-source
+                          (this-package-input "xsimd"))
+                       "pythran/xsimd"))))))
     (native-inputs
      (list python-setuptools))
     (propagated-inputs

Reply via email to