guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: python-efl: Rebuild generated C files.


From: Efraim Flashner
Subject: 01/02: gnu: python-efl: Rebuild generated C files.
Date: Fri, 17 Jun 2016 03:54:10 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit feabb770e168d026a672a1bf9df2435efdae9288
Author: Efraim Flashner <address@hidden>
Date:   Thu Jun 16 22:25:55 2016 +0300

    gnu: python-efl: Rebuild generated C files.
    
    * gnu/packages/enlightenment.scm (python-efl)[arguments]: Replace 'build
    phase to set 'ENABLE_CYTHON=1'.
    [native-inputs]: python-cython.
---
 gnu/packages/enlightenment.scm |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index c487fc1..ee01727 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -324,13 +324,18 @@ embedded systems.")
     (arguments
      '(#:phases
        (modify-phases %standard-phases
+        (replace 'build
+          (lambda _
+            (zero?
+              (system* "env" "ENABLE_CYTHON=1" "python" "setup.py" "build"))))
         (add-before 'build 'set-flags
          (lambda _
            (setenv "CFLAGS"
                    (string-append "-I" (assoc-ref %build-inputs "python-dbus")
                                   "/include/dbus-1.0")))))))
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("pkg-config" ,pkg-config)
+       ("python-cython" ,python-cython)))
     (inputs
      `(("efl" ,efl)
        ("elementary" ,elementary)



reply via email to

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