~ruther/guix-local

02b39eaafbb8f07e10dfb9393eeffbf5fbf71bc9 — Lars-Dominik Braun 5 years ago 9dd5fa2
gnu: python-black: Remove blackd.

* gnu/packages/python-xyz.scm (python-black) [arguments]: Add new phase
to prevent installation of blackd.
1 files changed, 8 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +8 -1
@@ 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)