From patchwork Fri Feb 8 04:09:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brett Gilio X-Patchwork-Id: 985 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E012C16BC6; Fri, 8 Feb 2019 04:10:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CDC1C16B5B for ; Fri, 8 Feb 2019 04:10:08 +0000 (GMT) Received: from localhost ([127.0.0.1]:50745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grxUO-0003iC-1W for patchwork@mira.cbaines.net; Thu, 07 Feb 2019 23:10:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grxUK-0003hU-HK for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grxUJ-00069d-Is for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39487) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grxUJ-000699-Er for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grxUJ-0006fJ-84 for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34380] [PATCH 2/5] gnu: Add python-language-server. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Feb 2019 04:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34380 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34380@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154959898725564 (code B ref -1); Fri, 08 Feb 2019 04:10:03 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2019 04:09:47 +0000 Received: from localhost ([127.0.0.1]:38764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grxU2-0006eF-VK for submit@debbugs.gnu.org; Thu, 07 Feb 2019 23:09:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grxU0-0006e1-Hv for submit@debbugs.gnu.org; Thu, 07 Feb 2019 23:09:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:55178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grxTv-0005Wo-El for submit@debbugs.gnu.org; Thu, 07 Feb 2019 23:09:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grxTu-0003eq-E0 for guix-patches@gnu.org; Thu, 07 Feb 2019 23:09:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grxTt-0005TB-KQ for guix-patches@gnu.org; Thu, 07 Feb 2019 23:09:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:59985) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grxTt-0005QX-9z for guix-patches@gnu.org; Thu, 07 Feb 2019 23:09:37 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B80622400E5 for ; Fri, 8 Feb 2019 05:09:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1549598975; bh=WJxHuaJBhpT8548SckrPJVb/Y2NIhe2eikHMuKrJuoY=; h=From:To:Subject:Date:From; b=lXiygfe1JiS0IHIF6N1S90WG8aiuiVXDoTxsBjEhureFS5OOytnd0qEURyUmgQFWe UAoaWwh/zEMGLfgxzkq0VGXM5e4ZSnzgc7nuxVZeoSsrqy9l7xAxdIkg37Zz77UpDr cqVEh2UPjZRFxXNtNTuEQzxb9YyVdoZoQnamMtsXVPp6/Y8QEKOB1i45jxMyen/X+a ena0GDu1Fbt6+RqdwviuaHj2fUjdcwPDB6/9OQ4rGWgyT46XGF9F+PboNAedlAOUJ+ IHIoeyt+BIiIMnqFyB6MBGeumz6IqCK1DgVrvWchqDlDUU87Ftebkt8oQYKO1Gom36 ukqCNcmbLphDQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43whXH01DYz9rxL for ; Fri, 8 Feb 2019 05:09:34 +0100 (CET) From: Brett Gilio Date: Thu, 07 Feb 2019 22:09:33 -0600 Message-ID: <87bm3msyyq.fsf@posteo.net> MIME-Version: 1.0 Content-Disposition: inline; filename=0002-gnu-Add-python-language-server.patch Content-Description: [PATCH 2/5] gnu: Add python-language-server. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 915bd232185ebcab96d96dc400ee3f010e691048 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Thu, 7 Feb 2019 22:03:42 -0600 Subject: [PATCH 2/5] gnu: Add python-language-server. * gnu/packages/python-xyz.scm (python-language-server): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 64bb85cc0..9efbbeba8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2492,6 +2492,37 @@ which can produce feeds in RSS 2.0, RSS 0.91, and Atom formats.") Language (TOML) configuration files.") (license license:expat))) +(define-public python-language-server + (package + (name "python-language-server") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-language-server" version)) + (sha256 + (base32 + "04pbxl06hg0ddm2xx99jn9jh40yv0mmzdjw8pqd2rbcdg42hhia6")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pluggy" ,python-pluggy) + ("python-jsonrps-server" ,python-jsonrpc-server) + ("python-jedi" ,python-jedi) + ("python-yapf" ,python-yapf) + ("python-pyflakes" ,python-pyflakes) + ("python-pydocstyle" ,python-pydocstyle) + ("python-pycodestyle" ,python-pycodestyle) + ("python-mccabe" ,python-mccabe) + ("python-rope" ,python-rope) + ("python-autopep8" ,python-autopep8))) + (home-page + "https://github.com/palantir/python-language-server") + (synopsis + "Python Language Server for the Language Server Protocol") + (description + "The Python Language Server (pyls) is an implementation of the Python 3 language specification for the LSP. This tool is used in many text-editing environments to provide a complete and integrated feature-set for programming Python effectively.") + (license license:expat))) + (define-public python-black (package (name "python-black") -- 2.20.1