sharlatan pushed a commit to branch master
in repository guix.
commit 6c134ae2792d786e08d3653eeed7e9717be01a17
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Apr 22 16:00:29 2025 +0200
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 <[email protected]>
---
gnu/packages/python-web.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
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