me
/
guix
Archived
1
0
Fork 0

gnu: python-automat: Remove broken console script.

* gnu/packages/python-xyz.scm (python-automat) [arguments]: Patch
setup.py.
master
Lars-Dominik Braun 2021-01-07 14:15:12 +01:00 committed by Maxim Cournoyer
parent 0868479d08
commit e97e6c05cd
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 9 additions and 1 deletions

View File

@ -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)