gnu: calibre: Fix build.

* gnu/packages/ebook.scm (calibre)[arguments]: Another, and hopefully last,
attempt to skip a flaky test.

This is a followup to 84dec447ac.

Change-Id: Id9893ec262504c2bfdcdf3e05220f26d9d08f472
This commit is contained in:
Nicolas Goaziou 2025-10-27 11:33:53 +01:00
parent c9d671d24a
commit 2e1935d0db
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -266,8 +266,8 @@ with Microsoft Compiled HTML (CHM) files")
(add-after 'unpack 'skip-flaky-test
(lambda _
(substitute* "src/calibre/srv/tests/web_sockets.py"
(("(def test_websocket_basic\\(.*)" line)
(string-append line "\n return True\n")))))
(("^([ \t]*)def test_websocket_basic\\(.*" line lead)
(string-append line "\n" lead " return True\n")))))
(add-before 'build 'configure
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "setup/build.py"