guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/131: gnu: python-twisted: Remove broken console scripts.


From: guix-commits
Subject: 16/131: gnu: python-twisted: Remove broken console scripts.
Date: Fri, 29 Jan 2021 09:21:46 -0500 (EST)

apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.

commit c6eecb536f4717cedf708cdfcfa9f0af648d7b23
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Jan 7 14:13:53 2021 +0100

    gnu: python-twisted: Remove broken console scripts.
    
    * gnu/packages/python-xyz.scm (python-twisted) [arguments]: Patch
    setup.py.
---
 gnu/packages/python-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e1348bb..e5003d5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12650,7 +12650,14 @@ format.")
                 "17d3hnxv9qndagzz63mdpyk99xj63p9gq586vjn0rxk8cl197nym"))))
     (build-system python-build-system)
     (arguments
-     '(#:tests? #f))                    ; FIXME: some tests fail
+     '(#:tests? #f                    ; FIXME: some tests fail
+       #:phases
+       (modify-phases %standard-phases
+         ;; Remove scripts, because they depend on [conch]
+         (add-after 'unpack 'remove-entrypoint
+           (lambda _
+             (substitute* "src/twisted/python/_setup.py"
+               (("\".+ = twisted\\.conch\\.scripts\\..+\",") "")))))))
     (propagated-inputs
      `(("python-zope-interface" ,python-zope-interface)
        ("python-pyhamcrest" ,python-pyhamcrest)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]