gnu: python-twisted: Remove broken console scripts.

* gnu/packages/python-xyz.scm (python-twisted) [arguments]: Patch
setup.py.
This commit is contained in:
Lars-Dominik Braun 2021-01-07 14:13:53 +01:00 committed by Maxim Cournoyer
parent 1ae919ec21
commit 0868479d08
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -12650,7 +12650,14 @@ (define-public python-twisted
"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)