guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: build/python: Fix cythonize check phase.


From: guix-commits
Subject: branch core-updates updated: build/python: Fix cythonize check phase.
Date: Sun, 13 Dec 2020 15:21:36 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 72809ab  build/python: Fix cythonize check phase.
72809ab is described below

commit 72809abc9e61eebbc51b8377827109d5f66754cf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 13 22:20:19 2020 +0200

    build/python: Fix cythonize check phase.
    
    * guix/build/python-build-system.scm (ensure-no-cythonized-files): Use
    format when printing the warning.
---
 guix/build/python-build-system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/build/python-build-system.scm 
b/guix/build/python-build-system.scm
index 2a98374..aad8625 100644
--- a/guix/build/python-build-system.scm
+++ b/guix/build/python-build-system.scm
@@ -30,6 +30,7 @@
   #:use-module (guix build utils)
   #:use-module (ice-9 match)
   #:use-module (ice-9 ftw)
+  #:use-module (ice-9 format)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26)
   #:export (%standard-phases
@@ -274,7 +275,7 @@ by Cython."
       (let ((generated-file
               (string-append (string-drop-right file 3) "c")))
         (when (file-exists? generated-file)
-          (warning (G_ "Possible Cythonized file found: ~a~%") 
generated-file))))
+          (format #t "Possible Cythonized file found: ~a~%" generated-file))))
     (find-files "." "\\.pyx$"))
   #t)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]