gnu: python-automat: Remove broken console script.
* gnu/packages/python-xyz.scm (python-automat) [arguments]: Patch setup.py.
This commit is contained in:
parent
0868479d08
commit
e97e6c05cd
|
@ -15073,7 +15073,15 @@ (define-public python-automat
|
||||||
;; python-twisted depends on python-automat. Twisted is optional, but the
|
;; python-twisted depends on python-automat. Twisted is optional, but the
|
||||||
;; tests fail if it is not available. Also see
|
;; tests fail if it is not available. Also see
|
||||||
;; <https://github.com/glyph/automat/issues/71>.
|
;; <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
|
(native-inputs
|
||||||
`(("python-m2r" ,python-m2r)
|
`(("python-m2r" ,python-m2r)
|
||||||
("python-setuptools-scm" ,python-setuptools-scm)
|
("python-setuptools-scm" ,python-setuptools-scm)
|
||||||
|
|
Loading…
Reference in a new issue