guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 609009ee4f988c30c73cdb6a8dcfd993f0c27ccd
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Oct 13 23:45:06 2025 +0200
gnu: python-pikepdf: Update to 8.15.1.
* gnu/packages/python-xyz.scm (python-pikepdf): Update to 8.15.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'set-version.
[native-inputs]: Add python-xmp-toolkit, python-setuptools. Remove
python-coverage, python-pytest-cov.
[propagated-inputs]: Replace python-deprecation by python-deprecated.
Change-Id: Iae6014ce980a84461940f86866cd1000221c36cd
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7360855010..755ba233c1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12330,34 +12330,41 @@ Python list with elements of type @code{PIL.Image}
(from the
(define-public python-pikepdf
(package
(name "python-pikepdf")
- (version "7.2.0")
+ (version "8.15.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pikepdf" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pikepdf/pikepdf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1vp3q85l2w7wpc8kqs26ijg3ivvvgj50z7g14p3pc0zdz8vbi0md"))))
- (build-system python-build-system)
+ (base32 "0hpnb63xp8yaflah3i1z5azh6mg36rz0liy27km47417w2q72v0c"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #false)) ;require python-xmp-toolkit
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs
(list pybind11
python-attrs
- python-coverage
python-hypothesis
python-setuptools-scm
python-psutil
python-pytest
- python-pytest-cov
python-pytest-timeout
python-pytest-xdist
python-dateutil
- ;; python-xmp-toolkit
- python-tomli))
+ python-xmp-toolkit
+ python-tomli
+ python-setuptools))
(inputs
(list qpdf))
(propagated-inputs
- (list python-deprecation python-lxml python-packaging python-pillow))
+ (list python-deprecated python-lxml python-packaging python-pillow))
(home-page "https://github.com/pikepdf/pikepdf")
(synopsis "Read and write PDFs with Python")
(description