From aaac159245fc5234f7eb902c1d2ad2b8fd5e605d Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 14 Jan 2026 16:10:13 +0100 Subject: gnu: python-poppler-qt5: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/pdf.scm (python-poppler-qt5) [source]: Switch to git-fetch. [arguments]<#·configure-flags>: Remove them. --- gnu/packages/pdf.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gnu') 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)) -- cgit v1.3