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.
master
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
'(#: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)