unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43804] [PATCH 1/2] gnu: Add python-black-macchiato.
@ 2020-10-04 22:32 Joseph LaFreniere
  2020-10-04 22:35 ` [bug#43804] [PATCH 2/2] gnu: Add emacs-python-black Joseph LaFreniere
  2020-10-06  9:43 ` bug#43804: [PATCH 1/2] gnu: Add python-black-macchiato Mathieu Othacehe
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph LaFreniere @ 2020-10-04 22:32 UTC (permalink / raw)
  To: 43804

[-- Attachment #1: Type: text/plain, Size: 46 bytes --]

Patch file is attached.

--
Joseph LaFreniere

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-black-macchiato.patch --]
[-- Type: text/x-patch, Size: 1496 bytes --]

From c67e5ca74b4c4ea80d83c09805f137033de0e077 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 4 Oct 2020 17:29:17 -0500
Subject: [PATCH 1/2] gnu: Add python-black-macchiato.

* gnu/packages/python-xyz.scm (python-black-macchiato): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 865b87e301..f4a5a34303 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4077,6 +4077,27 @@ matching of file paths.")
     (description "Black is the uncompromising Python code formatter.")
     (license license:expat)))
 
+(define-public python-black-macchiato
+  (package
+    (name "python-black-macchiato")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "black-macchiato" version))
+       (sha256
+        (base32
+         "1drp5p697ni1xn5y2lbjpalgpkzy2i4cyxjj5pk4dxr0vk97dd7i"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-black" ,python-black)))
+    (home-page "https://github.com/wbolster/black-macchiato")
+    (synopsis "Partial @code{python-black} formatting")
+    (description
+     "This package is built on top the @{python-black} code formatter to
+enable formatting of partial files.")
+    (license license:bsd-3)))
+
 (define-public python-blinker
   (package
     (name "python-blinker")
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-06  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-04 22:32 [bug#43804] [PATCH 1/2] gnu: Add python-black-macchiato Joseph LaFreniere
2020-10-04 22:35 ` [bug#43804] [PATCH 2/2] gnu: Add emacs-python-black Joseph LaFreniere
2020-10-06  9:43 ` bug#43804: [PATCH 1/2] gnu: Add python-black-macchiato Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).