summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-14 16:10:13 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:52 +0100
commitaaac159245fc5234f7eb902c1d2ad2b8fd5e605d (patch)
tree9dbfec9720baec9b6d72ff6a9b6edb86d4f7b139 /gnu
parent1c846e8e6f1930c79bf0f71831fb7eaa322f1b70 (diff)
gnu: python-poppler-qt5: Fix build.
* gnu/packages/pdf.scm (python-poppler-qt5) [source]: Switch to git-fetch. [arguments]<#·configure-flags>: Remove them.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pdf.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 431b57021e5..34147c69b06 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -520,17 +520,16 @@ When present, Poppler is able to correctly render CJK and Cyrillic text.")
(version "21.3.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "python-poppler-qt5" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/frescobaldi/python-poppler-qt5")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1q3gvmsmsq3llf9mcbhlkryrgprqrw2z7wmnvagy180f3y2fhxxl"))))
+ (base32 "0rxjljxsiwvgbn576f0fc9jbj750yc474rzh9kyp371p7rvijxhv"))))
(build-system pyproject-build-system)
(arguments
- `(;; The sipbuild.api backend builder expects a Python dictionary as per
- ;; https://peps.python.org/pep-0517/#config-settings, but we
- ;; give it lists and it fails. The next line is a workaround.
- #:configure-flags '#nil
- #:tests? #f))
+ (list #:tests? #f)) ;No tests upstream.
(native-inputs (list pkg-config))
(inputs (list python-sip python-pyqt-builder python-pyqt poppler-qt5
qtbase-5))