[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/131: gnu: python-black: Remove blackd.
From: |
guix-commits |
Subject: |
13/131: gnu: python-black: Remove blackd. |
Date: |
Fri, 29 Jan 2021 09:21:45 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit dfbb73f433bef616b6c7b369a4fe98c3cc1df4e3
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Jan 7 13:50:18 2021 +0100
gnu: python-black: Remove blackd.
* gnu/packages/python-xyz.scm (python-black) [arguments]: Add new phase
to prevent installation of blackd.
---
gnu/packages/python-xyz.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6b1ad3c..86f416e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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)
- 14/131: gnu: python-traitlets: Add missing input., (continued)
- 14/131: gnu: python-traitlets: Add missing input., guix-commits, 2021/01/29
- 15/131: gnu: python-idna-ssl: Add missing input., guix-commits, 2021/01/29
- 17/131: gnu: python-automat: Remove broken console script., guix-commits, 2021/01/29
- 07/131: gnu: python-pytest-xdist: Add missing input, relax pytest requirement., guix-commits, 2021/01/29
- 16/131: gnu: python-twisted: Remove broken console scripts., guix-commits, 2021/01/29
- 22/131: gnu: solaar: Do not read PYTHONPATH from environment., guix-commits, 2021/01/29
- 21/131: gnu: python2-virtualenv: Fix build., guix-commits, 2021/01/29
- 25/131: gnu: python-pysam: Adjust following Python build system changes., guix-commits, 2021/01/29
- 27/131: gnu: python-screed: Adjust following Python build system changes., guix-commits, 2021/01/29
- 30/131: gnu: python-xmlschema: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 13/131: gnu: python-black: Remove blackd.,
guix-commits <=
- 19/131: gnu: python-traceback2: Add missing dependency., guix-commits, 2021/01/29
- 23/131: gnu: intel-xed: Adjust build phase., guix-commits, 2021/01/29
- 18/131: gnu: python-packaging-bootstrap: Remove dependency., guix-commits, 2021/01/29
- 24/131: gnu: python-pybedtools: Streamline following Python build system changes., guix-commits, 2021/01/29
- 26/131: gnu: bamm: Update following changes to the Python build system., guix-commits, 2021/01/29
- 28/131: gnu: python-scanpy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 29/131: gnu: python-loompy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 20/131: gnu: python2-packaging-bootstrap: Add missing dependency, guix-commits, 2021/01/29
- 31/131: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 33/131: gnu: ganeti: Do not set PYTHONPATH., guix-commits, 2021/01/29