summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-04-22 16:00:29 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-04-24 04:53:41 +0100
commit6c134ae2792d786e08d3653eeed7e9717be01a17 (patch)
treec2c8029868c867c1be7e2f8be2f1ba4098bf6fca /gnu/packages/python-web.scm
parentdbc331397e6c26738f2b6e28f68716c952797e70 (diff)
gnu: python-suds: Fix dist-info.
* gnu/packages/python-web.scm (python-suds) [arguments]{phases}: Add phase 'add-custom-dist-info. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ef5cd127df..42904605e5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10620,6 +10620,22 @@ and FastAPI.")
(sha256
(base32 "1byyg7b2ixpr8hc849a6dd0qn5daxqawz6lb3php8lrmsb1n5cc3"))))
(build-system pyproject-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: chirp expects suds instead of suds_community
+ (add-after 'install 'add-custom-dist-info
+ (lambda _
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion (dirname dir)
+ (symlink
+ (basename dir)
+ (string-append "suds-" #$version ".dist-info"))))
+ (find-files #$output
+ (lambda (file stat)
+ (string-suffix? ".dist-info" file))
+ #:directories? #t)))))))
(native-inputs
(list python-pytest
python-setuptools