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:
parent
2e6973222d
commit
feabb770e1
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue