diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-12 22:21:53 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 14:07:36 +0000 |
| commit | 40cd87d4c6faec7bba73f86214052a7a98d1ec7f (patch) | |
| tree | 521c0a4ec463b27c2ba656533a6d6700b823a488 /gnu/packages/python-xyz.scm | |
| parent | dcd44c5cf949215f318acb5fc53d7d4e16d417ff (diff) | |
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>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e3fc9fca630..9d96e5a2e13 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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") |
