This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 68d7bd6ed1 gnu: python-ajsonrpc: Fix version.
68d7bd6ed1 is described below
commit 68d7bd6ed1f1262c2786fba6c8cf5663a2c75adf
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Sun Oct 12 19:38:44 2025 +0200
gnu: python-ajsonrpc: Fix version.
* gnu/packages/python-web.scm (python-ajsonrpc)[arguments]
<#:phases>{set-version}:
New phase.
[native-inputs]: Remove python-wheel.
Change-Id: If28164fcb53e91698c947d764efdc42391bc65f0
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-web.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fea2ee66db..ceb876ef38 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -11411,7 +11411,18 @@ standard library and supported by default in Quart.")
(sha256
(base32 "0c7jxfkv5q2m95j54dn650gcvdbpag2qcki7phvmrwsgb36w09kd"))))
(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 _
+ (substitute* "ajsonrpc/__init__.py"
+ (("^__version__ = .*")
+ (string-append "__version__ = \"" #$version "\"\n"))))))))
+ (native-inputs
+ (list python-pytest
+ python-setuptools))
(propagated-inputs
(list python-quart
python-sanic