me
/
guix
Archived
1
0
Fork 0

gnu: python-black: Remove blackd.

* gnu/packages/python-xyz.scm (python-black) [arguments]: Add new phase
to prevent installation of blackd.
master
Lars-Dominik Braun 2021-01-07 13:50:18 +01:00 committed by Maxim Cournoyer
parent 9dd5fa2ea6
commit 02b39eaafb
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 8 additions and 1 deletions

View File

@ -4207,7 +4207,14 @@ matching of file paths.")
(substitute* "tests/test_black.py"
(("( *)def test_python38" match indent)
(string-append indent "@unittest.skip(\"guix\")\n" match)))
#t)))))
#t))
;; Remove blackd, because it depends on python-aiohttp and
;; python-aiohttp-cors.
(add-after 'unpack 'remove-entrypoint
(lambda _
(substitute* "setup.py"
(("\\s*\"blackd=blackd:patched_main \\[d\\]\",\n") "")
(("\"blackd\", ") "")))))))
(propagated-inputs
`(("python-click" ,python-click)
("python-attrs" ,python-attrs)