1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-14 05:05:53 +02:00

gnu: python-pystitcher: Update to 1.0.5-0.d8150be.

* gnu/packages/python-xyz.scm (python-pystitcher): Update to
d8150be85d53335f7077491ab4d73fad772ef1c9 commit.
[arguments]<#:phases>: Add phase 'set-version.
[native-inputs]: Remove python-setuptools, python-wheel.  Add
python-hatchling, python-hatch-vcs.
[inputs]: Replace python-pypdf3 by python-pypdf.

Change-Id: I0e053fc2460fd425015a70d730fd96173665fc30
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-10-12 22:21:53 +02:00
committed by Sharlatan Hellseher
parent dcd44c5cf9
commit 40cd87d4c6
+18 -5
View File
@@ -8382,22 +8382,35 @@ logic-free templating system Mustache.")
(define-public python-pystitcher
(package
(name "python-pystitcher")
(version "1.0.4")
(properties '((commit . "d8150be85d53335f7077491ab4d73fad772ef1c9")
(revision . "0")
(upstream-version . "1.0.5")))
(version (git-version (assoc-ref properties 'upstream-version)
(assoc-ref properties 'revision)
(assoc-ref properties 'commit)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/captn3m0/pystitcher")
(commit (string-append "v" version))))
(commit (assoc-ref properties 'commit))))
(file-name (git-file-name name version))
(sha256
(base32 "03yrzqhcsjdj5zprrk3bh5bbyqfy3vfhxra9974vmkir3m121394"))))
(base32 "02q03smvfz6x8v45s6qcgh1r2plpcam7ra24ikgqlmq005w7nhv3"))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-setuptools python-wheel))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
#$(assoc-ref properties 'upstream-version)))))))
(native-inputs (list python-hatchling python-hatch-vcs python-pytest))
(inputs (list python-html5lib
python-importlib-metadata
python-markdown
python-pypdf3
python-pypdf
python-validators))
(home-page "https://github.com/captn3m0/pystitcher")
(synopsis "Declaratively stitch together a PDF file from multiple sources")