mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: labelme: Loosen Python requirements.
* gnu/packages/image-processing.scm (labelme)[arguments]: Patch setup.py so it does not require a specific version of Matplotlib.
This commit is contained in:
@@ -1271,6 +1271,12 @@ segmentation.")
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'loosen-requirements
|
||||
(lambda _
|
||||
;; Don't require an outdated version of matplotlib.
|
||||
(substitute* "setup.py"
|
||||
(("matplotlib<3\\.3")
|
||||
"matplotlib"))))
|
||||
(add-before 'check 'start-xserver
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((xorg-server (assoc-ref inputs "xorg-server")))
|
||||
|
||||
Reference in New Issue
Block a user