guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit a4aa3160b4df7fa0506b7f61338ca713d9b373e8
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 14 16:10:13 2026 +0100

    gnu: python-poppler-qt5: Fix build.
    
    * 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(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 431b57021e..34147c69b0 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))

Reply via email to