~ruther/guix-local

e97e6c05cd1d1aecb8f7bc251d8487ed056bcc81 — Lars-Dominik Braun 5 years ago 0868479d
gnu: python-automat: Remove broken console script.

* gnu/packages/python-xyz.scm (python-automat) [arguments]: Patch
setup.py.
1 files changed, 9 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +9 -1
@@ 15073,7 15073,15 @@ instead of servers and network commands.")
    ;; python-twisted depends on python-automat.  Twisted is optional, but the
    ;; tests fail if it is not available.  Also see
    ;; <https://github.com/glyph/automat/issues/71>.
    (arguments '(#:tests? #f))
    (arguments
     `(#:tests? #f
       #:phases
       (modify-phases %standard-phases
         ;; Remove script, because it depends on python-twisted.
         (add-after 'unpack 'remove-entrypoint
           (lambda _
             (substitute* "setup.py"
               (("\"automat-visualize = automat._visualize:tool\"") "")))))))
    (native-inputs
     `(("python-m2r" ,python-m2r)
       ("python-setuptools-scm" ,python-setuptools-scm)