gnu: d-feet: Return booleans from phase procedures.
* gnu/packages/gnome.scm (d-feet)[arguments]: Return booleans from phase procedures. Omit unused 'inputs' keyword argument from 'pre-check' phase.
This commit is contained in:
parent
020cdbd0e4
commit
86aff7912c
|
@ -3322,7 +3322,7 @@ principles are simplicity and standards compliance.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before
|
(add-before
|
||||||
'check 'pre-check
|
'check 'pre-check
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda _
|
||||||
;; The test suite requires a running X server.
|
;; The test suite requires a running X server.
|
||||||
(system "Xvfb :1 &")
|
(system "Xvfb :1 &")
|
||||||
(setenv "DISPLAY" ":1")
|
(setenv "DISPLAY" ":1")
|
||||||
|
@ -3331,7 +3331,8 @@ principles are simplicity and standards compliance.")
|
||||||
;; tests.py and window.py don't meet E402:
|
;; tests.py and window.py don't meet E402:
|
||||||
;; E402 module level import not at top of file
|
;; E402 module level import not at top of file
|
||||||
(substitute* "src/tests/Makefile"
|
(substitute* "src/tests/Makefile"
|
||||||
(("--ignore=E123") "--ignore=E123,E402"))))
|
(("--ignore=E123") "--ignore=E123,E402"))
|
||||||
|
#t))
|
||||||
(add-after
|
(add-after
|
||||||
'install 'wrap-program
|
'install 'wrap-program
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
@ -3339,7 +3340,8 @@ principles are simplicity and standards compliance.")
|
||||||
"/bin/d-feet")))
|
"/bin/d-feet")))
|
||||||
(wrap-program prog
|
(wrap-program prog
|
||||||
`("PYTHONPATH" = (,(getenv "PYTHONPATH")))
|
`("PYTHONPATH" = (,(getenv "PYTHONPATH")))
|
||||||
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
|
||||||
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("intltool" ,intltool)
|
`(("intltool" ,intltool)
|
||||||
("itstool" ,itstool)
|
("itstool" ,itstool)
|
||||||
|
|
Loading…
Reference in New Issue