unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Joseph LaFreniere <joseph@lafreniere.xyz>
To: 43804@debbugs.gnu.org
Subject: [bug#43804] [PATCH 1/2] gnu: Add python-black-macchiato.
Date: Sun, 04 Oct 2020 17:32:22 -0500	[thread overview]
Message-ID: <878scl1v2h.fsf@odyssey.lafreniere.xyz> (raw)

[-- 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


             reply	other threads:[~2020-10-04 22:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-04 22:32 Joseph LaFreniere [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878scl1v2h.fsf@odyssey.lafreniere.xyz \
    --to=joseph@lafreniere.xyz \
    --cc=43804@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).