guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c8715a594a017dfd2618bad917d20c2275a30142
Author: Cayetano Santos <[email protected]>
AuthorDate: Thu Nov 12 11:10:48 2026 +0100

    gnu: python-pdftotext: Update to 4.0.0.
    
    * gnu/packages/python-xyz.scm (python-pdftotext): Update to 4.0.0.
    [source]: Switch to git-fetch.
    [native-inputs]: Remove python-wheel.
    [home-page]: Update.
---
 gnu/packages/python-xyz.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 43d8ef0e576..be373d70ebd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13442,17 +13442,20 @@ shares the same interface.")
 (define-public python-pdftotext
   (package
     (name "python-pdftotext")
-    (version "3.0.0")
+    (version "4.0.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "pdftotext" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://git.sr.ht/~jalan/pdftotext";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1ahs7c0qh3gyafxwrg9p4gcqwcrnc7y57adzm0ama52f2lcjnrf3"))))
+        (base32 "0jmcz9jm4x2zqvpnayqgzdn5kjyjmhwaillhjw01hbfcx54mbb66"))))
     (build-system pyproject-build-system)
-    (native-inputs (list python-pytest python-setuptools python-wheel))
+    (native-inputs (list python-pytest python-setuptools))
     (inputs (list poppler))
-    (home-page "https://github.com/jalan/pdftotext";)
+    (home-page "https://git.sr.ht/~jalan/pdftotext";)
     (synopsis "Simple PDF text extraction")
     (description "Pdftotext is a Python library of PDF text extraction.")
     (license license:expat)))

Reply via email to