Subject: [PATCH] gnu: python-pikepdf: Update to 7.2.0.

From: Nicolas Goaziou <[email-masked]>
Date: Sat, 1 Jul 2023 00:24:20 +0200

* gnu/packages/python-xyz.scm (python-pikepdf): Update to 7.2.0.
[native-inputs]: Remove PYTHON-SETUPTOOLS, PYTHON-SETUPTOOLS-SCM,
PYTHON-SETUPTOOLS-SCM-GIT-ARCHIVE, PYTHON-TOML, PYTHON-WHEEL.  Add
PYTHON-ATTRS, PYTHON-COVERAGE, PYTHON-HYPOTHESIS, PYTHON-PSUTIL,
PYTHON-PYTEST, PYTHON-PYTEST-COV, PYTHON-PYTEST-TIMEOUT, PYTHON-PYTEST-XDIST,
PYTHON-DATEUTIL, PYTHON-TOMLI.
[propagated-inputs]: Remove PYTHON-LXML.  Add PYTHON-DEPRECATION,
PYTHON-PACKAGING, PYTHON-PILLOW.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 55531b2785..6f377b325e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8430,27 +8430,33 @@ (define-public python-pypdf3
 (define-public python-pikepdf
   (package
     (name "python-pikepdf")
-    (version "2.16.1")
+    (version "7.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pikepdf" version))
        (sha256
-        (base32 "1phdpi9cm2pbvgcxqvwr8ck327sxhdw4dnxmzhrbf7hzydmgykg2"))))
+        (base32 "1vp3q85l2w7wpc8kqs26ijg3ivvvgj50z7g14p3pc0zdz8vbi0md"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #false))                ;require python-xmp-toolkit
     (native-inputs
      (list pybind11
-           python-setuptools
-           python-setuptools-scm
-           python-setuptools-scm-git-archive
-           python-toml
-           python-wheel))
+           python-attrs
+           python-coverage
+           python-hypothesis
+           python-psutil
+           python-pytest
+           python-pytest-cov
+           python-pytest-timeout
+           python-pytest-xdist
+           python-dateutil
+           ;; python-xmp-toolkit
+           python-tomli))
     (inputs
      (list qpdf))
     (propagated-inputs
-     (list python-lxml python-pillow))
+     (list python-deprecation python-lxml python-packaging python-pillow))
     (home-page "https://github.com/pikepdf/pikepdf")
     (synopsis "Read and write PDFs with Python")
     (description

base-commit: b24a05830d11e3011eee4bc5f60a41e26188cde1
-- 
2.40.1