From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uMCbMVlOel8aEAAA0tVLHw (envelope-from ) for ; Sun, 04 Oct 2020 22:36:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OMhULVlOel+TYwAAB5/wlQ (envelope-from ) for ; Sun, 04 Oct 2020 22:36:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 474019401D0 for ; Sun, 4 Oct 2020 22:36:09 +0000 (UTC) Received: from localhost ([::1]:56202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPCbw-0004h7-7T for larch@yhetil.org; Sun, 04 Oct 2020 18:36:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPCbq-0004h0-0q for guix-patches@gnu.org; Sun, 04 Oct 2020 18:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPCbp-0003h7-OA for guix-patches@gnu.org; Sun, 04 Oct 2020 18:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPCbp-0008Og-MI for guix-patches@gnu.org; Sun, 04 Oct 2020 18:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43804] [PATCH 2/2] gnu: Add emacs-python-black. Resent-From: Joseph LaFreniere Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Oct 2020 22:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43804 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43804@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160185094532253 (code B ref -1); Sun, 04 Oct 2020 22:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Oct 2020 22:35:45 +0000 Received: from localhost ([127.0.0.1]:46938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPCbZ-0008O9-0C for submit@debbugs.gnu.org; Sun, 04 Oct 2020 18:35:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:44970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPCbT-0008Nx-Eh for submit@debbugs.gnu.org; Sun, 04 Oct 2020 18:35:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPCbS-0004gZ-4Z for guix-patches@gnu.org; Sun, 04 Oct 2020 18:35:39 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:19632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPCbO-0003cA-J6 for guix-patches@gnu.org; Sun, 04 Oct 2020 18:35:37 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id AEF019FC for ; Mon, 5 Oct 2020 00:35:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1601850932; x=1603665333; bh=+wYGsc5jPtKD2LHfmJ5bOc1VlAVd4P09TMMZ9sOLSG0=; b=n7Jj1Tv7Et52 JDyEQRpmCzGeU+kxdVfZAsl4HWJbJ59pg1Y82B9FEazJHcgJqZwHuFxUsiTUkESp 0Hy8+bVxFAa+8yJvjXR9PP8FZua5XqUS0BOnpDCj30Qv0wQIdo7+KxsThb1rfoYX xZBtB6g3r/i92gU6baf/w65WigsKqyVFZkouyo8iV4PfeUZb9dm960td2252o0Z6 t94KvPQkVfv95yfhBLRQdZx+q3tJuFmwrtzwhML0ZhS9mDoPeFGZ8IobpgrGzly5 2jW2uqilICjjO5V/7+LIzDFKR16xfcNn+htkCZECZQkF0sDCCiFp/3r18eGvwX8T zAdj6zzncxWBLhYsTLD6KnrOdl8zOsTShcgV+6uAR1rR8XA79ZEWKG0FtC+CDZ4G DNO2p8roD+XeuJ3EVdGk8rK44nW39HzDDhHdhhNWgcg8kPhKmoOfxfwwVCF/0Nkp TfbjeVvqGMSBLrwDHLYC99EN82DBq5893NqEj4XlV7pBKA9X1t1BXlK8bWr/fzLu 2FDtA1o44edjjPgabqtzxeatmDAQOfmxC2IL+PqZPyMVpP/o7zA+9pCX9S6z5vDr hAi5V2kZXcNytwTX0gZOfFKVu0fQ/I+kueUxzVJHy8u+wNUsy5u522FWHsrBhuz6 rgcy4bfPHMpItkAxXcfTksOMhCZ5KQc= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Score: -1.9 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6py49ubESPV4 for ; Mon, 5 Oct 2020 00:35:32 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 03FA6672 for ; Mon, 5 Oct 2020 00:35:30 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 9FCC043E5 for ; Mon, 5 Oct 2020 00:35:30 +0200 (CEST) References: <878scl1v2h.fsf@odyssey.lafreniere.xyz> From: Joseph LaFreniere In-reply-to: <878scl1v2h.fsf@odyssey.lafreniere.xyz> Date: Sun, 04 Oct 2020 17:35:26 -0500 Message-ID: <875z7p1uxd.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.41; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/04 18:30:07 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=0.498, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 0.1 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kolabnow.com header.s=dkim20160331 header.b=n7Jj1Tv7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: jj1K4Y6iO3rf --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-emacs-python-black.patch >From d1860c94073056fb50d31082a19eaf4df0990951 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 4 Oct 2020 17:29:36 -0500 Subject: [PATCH 2/2] gnu: Add emacs-python-black. * gnu/packages/emacs-xyz.scm (emacs-python-black): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 4894e20112..3328dab77f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5646,6 +5646,34 @@ This provides a basic API and common UI widgets such as popup tooltips and popup menus.") (license license:gpl3+))) +(define-public emacs-python-black + (package + (name "emacs-python-black") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wbolster/emacs-python-black") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fjnd85nlkck156dj6cahk8chhgkbgl2kwywqzi8bl4yj700m4dk")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-reformatter" ,emacs-reformatter) + ("python-black-macchiato" ,python-black-macchiato))) + (arguments `(#:tests? #f)) + (home-page "https://github.com/wbolster/emacs-python-black") + (synopsis "Reformat Python code via @code{python-black}") + (description + "This package makes it easy to reformat Python code using +@code{python-black} and @code{python-black-macchiato} for entire and partial +buffers, respectively.") + (license license:bsd-3))) + (define-public emacs-python-environment (package (name "emacs-python-environment") -- 2.28.0 --=-=-=--