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: Mon, 1 Feb 2021 11:56:34 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 0868479d080e0332f266d8d3453f26fb520daf07
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 23166c4..0e9ee02 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]