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:
Marius Bakke 2021-12-07 21:20:35 +01:00
parent 5fb1ba880f
commit 14bc2ce43a
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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")))