mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 20:57:12 -05:00
gnu: ganeti: Fix test failure.
* gnu/packages/virtualization.scm (ganeti)[arguments]: Add phase to add compatibility with newer Pyparsing.
This commit is contained in:
parent
8d70f509c7
commit
4bf79350ea
1 changed files with 6 additions and 0 deletions
|
@ -599,6 +599,12 @@ (define-public ganeti
|
|||
(string-append match " < 1.2"))
|
||||
(("(.*QuickCheck.*) < 2\\.14" _ match)
|
||||
(string-append match " < 2.15")))))
|
||||
(add-after 'unpack 'pyparsing-compat
|
||||
(lambda _
|
||||
;; Adjust for Pyparsing 3.0. Remove for Ganeti 3.0.2+.
|
||||
(substitute* "lib/qlang.py"
|
||||
(("operatorPrecedence")
|
||||
"infixNotation"))))
|
||||
(add-after 'unpack 'create-vcs-version
|
||||
(lambda _
|
||||
;; If we are building from a git checkout, we need to create a
|
||||
|
|
Loading…
Reference in a new issue