gnu: Calibre: Remove a transitive dependency on QtWebKit.

See <https://issues.guix.gnu.org/53289> for more information about this change.

* gnu/packages/ebook.scm (calibre)[inputs]: Replace python-pyqt with
python-pyqt-without-qtwebkit.
[arguments]: Adjust the custom 'configure' phase accordingly.
This commit is contained in:
Leo Famulari 2022-01-28 12:34:58 -05:00
parent 262a1734e2
commit 229759833d
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -198,7 +198,7 @@ (define-public calibre
("python-pychm" ,python-pychm)
("python-pycryptodome" ,python-pycryptodome)
("python-pygments" ,python-pygments)
("python-pyqt" ,python-pyqt)
("python-pyqt-without-qtwebkit" ,python-pyqt-without-qtwebkit)
("python-pyqtwebengine" ,python-pyqtwebengine)
("python-regex" ,python-regex)
("python-speechd" ,speech-dispatcher)
@ -238,7 +238,7 @@ (define-public calibre
(add-before 'build 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((podofo (assoc-ref inputs "podofo"))
(pyqt (assoc-ref inputs "python-pyqt"))
(pyqt (assoc-ref inputs "python-pyqt-without-qtwebkit"))
(python-sip (assoc-ref inputs "python-sip"))
(out (assoc-ref outputs "out")))
(substitute* "setup/build.py"