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.
This commit is contained in:
Efraim Flashner 2016-06-16 22:25:55 +03:00
parent 2e6973222d
commit feabb770e1
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 6 additions and 1 deletions

View File

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