From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oP9lJ8RlfmCZEQAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 07:25:24 +0200 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 aIsHI8RlfmAYPQAAB5/wlQ (envelope-from ) for ; Tue, 20 Apr 2021 05:25:24 +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 5941A153A6 for ; Tue, 20 Apr 2021 07:25:24 +0200 (CEST) Received: from localhost ([::1]:39288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYit1-0002d2-DZ for larch@yhetil.org; Tue, 20 Apr 2021 01:25:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYish-0002DP-NX for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYish-0003Z3-Gb for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYish-0007eN-DH for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47906] [PATCH 04/22] gnu: Add python-pyls-black. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 05:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47906@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47906-submit@debbugs.gnu.org id=B47906.161889625029218 (code B ref 47906); Tue, 20 Apr 2021 05:25:03 +0000 Received: (at 47906) by debbugs.gnu.org; 20 Apr 2021 05:24:10 +0000 Received: from localhost ([127.0.0.1]:52640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYirq-0007bA-Ks for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:10 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYiro-0007ad-IQ for 47906@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 0B3B0240028 for <47906@debbugs.gnu.org>; Tue, 20 Apr 2021 07:24:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618896243; bh=I8jesc2FOzEqFTfrlkJrYA729Lxi6gU2tSu3DnknCF8=; h=From:To:Cc:Subject:Date:From; b=hmsUqhLg3pR159/iTgJJOUmfxAlE4RGU2iMnXVRZCpYGx05pXoWSd2By/a7dICfW1 yaa1WTGtkDfyV0kCrFb3YcX+niM7UMnGtRyplQ0BeoNkHER2A2Rv8opH2lJoqgXtvF Pb7pey07O2a4p5F2xcJ8NTBoL+9gRLmCa2Fg3hWvXOSszWsKX5t5Z2Yw/GpPAQ7KkW qJBdt0pbpcKHA7RQpLboBKxMyMNvFYavkOyT8R3/NybcRJj8kwhQii3Dpwoi6Hyil9 66wONr+WeQMosXk3N3nU7dcHiFXxqbTyuQ7cZH7q4eLHGqxLBafUGCczwufxu1F2Xa Eaj+tHif4x/1Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPXD1242wz6tmK; Tue, 20 Apr 2021 07:24:01 +0200 (CEST) From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:28 +0000 Message-Id: <20210420052246.470690-4-monego@posteo.net> In-Reply-To: <20210420052246.470690-1-monego@posteo.net> References: <20210420052246.470690-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618896324; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qhCDwfTpN/pzsCcP5Om1P3AvnkYQU07vRBnATSksknA=; b=SXb4gwk2e+EysJQS7Ekxn0Q34BoNQbIKDOY1v9Qf9k496M/lY4tQOPP4YvPJigzxlB9wwx yB6lwvWsrEKy5W8SpF+UqFFFe2/J/qhFOntyJr6q7qsRPKeCmPHCqj5jPIFc0dE7AzyorH qBrPv+ljJqc3Nn+7obghSH4NIFA0GQFZTDMukW+cNlx5gpifupIGTjHBZYAmgzAzKuaEjP HgiyiBp5FDDxjYoZSLOK9B4me/GNyT7uygv0An5iG4f1ux0dSMwJFxcjhDcIZA6mTaef4E 8JFys0BkGrI5FfOUf/1h+mVlzyYpDuCK0LwrgZUbQ4EI96KjgtRbJT1jJ2PmRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618896324; a=rsa-sha256; cv=none; b=Aypmrm1CFJpZfxDKD5wGPU7cg6qcrAUME1tinjTQBPQJRMYIObj+4t3zQ7/CR+nC2qtDr/ l8snkzGhetPEkKckkcMenGGGVsU+e7oVEpsQGd4PNXH/MnK9S/9tPx/m4ZwZ9bpgdGvahy 8smfK/5fB/244DJjDpxCgfJn/1/P9ox6YcutlesT+xc9KHal/py1qxfO9Wg+4w0sFAFbp/ q+5W65Scj+31Nskjf2snUiHRwnKTb4NTc1O2D6WvM+bN4lU5uXkHK2bEezPQOOf15bt5Wy sKd6YRab2tD4r9LbWVgyXVxXG6uYd0X1x48ElcSFz9MHm4pcY6RcY63RJQPWIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hmsUqhLg; 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-Migadu-Spam-Score: 3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hmsUqhLg; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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-Migadu-Queue-Id: 5941A153A6 X-Spam-Score: 3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: pcH/ZLdpthkL * gnu/packages/python-xyz.scm (python-pyls-black): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a8fb9d9cbc..ae18466686 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -965,6 +965,39 @@ concepts.") (define-public python2-h5py (package-with-python2 python-h5py)) +(define-public python-pyls-black + (package + (name "python-pyls-black") + (version "0.4.6") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/rupert/pyls-black/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cjf0mjn156qp0x6md6mncs31hdpzfim769c2lixaczhyzwywqnj")))) + (build-system python-build-system) + (arguments + `(#:test-target "pytest")) + (propagated-inputs + `(("python-black" ,python-black) + ("python-language-server" + ,python-language-server) + ("python-toml" ,python-toml))) + (native-inputs + `(("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-mypy" ,python-mypy) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (home-page "https://github.com/rupert/pyls-black") + (synopsis "Black plugin for the Python Language Server") + (description "Black plugin for the Python Language Server.") + (license license:expat))) + (define-public python-sh (package (name "python-sh") -- 2.31.1