gnu: python-invoke: Drop phase 'fix-entry-points.

* gnu/packages/python-xyz.scm (python-invoke)[arguments]<#:phases>:
Drop phase 'fix-entry-points.

Change-Id: Ibfeff99cba7fa4badb0dee42dda306c69e998ee6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2026-01-17 21:37:29 +01:00 committed by Sharlatan Hellseher
parent 493e2e231f
commit 49f58dbb17
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24078,15 +24078,7 @@ manipulation and interaction with formal grammars.")
(let ((bash #$(this-package-input "bash-minimal")))
(substitute* "invoke/config.py"
(("shell = \"/bin/bash\"")
(string-append "shell = \"" bash "/bin/bash\""))))))
(add-after 'wrap 'fix-entry-points
;; TODO: Remove after https://codeberg.org/guix/guix/issues/4509
;; is fixed.
(lambda _
(substitute* (list (string-append #$output "/bin/.invoke-real")
(string-append #$output "/bin/.inv-real"))
(("from invoke.main import program.run")
"from invoke.main import program")))))))
(string-append "shell = \"" bash "/bin/bash\"")))))))))
(native-inputs
(list python-setuptools
python-wheel))