all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34380] [PATCH 2/5] gnu: Add python-language-server.
@ 2019-02-08  4:09 Brett Gilio
  2019-02-12 22:05 ` bug#34380: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Brett Gilio @ 2019-02-08  4:09 UTC (permalink / raw)
  To: 34380

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH 2/5] gnu: Add python-language-server. --]
[-- Type: text/x-patch, Size: 2038 bytes --]

From 915bd232185ebcab96d96dc400ee3f010e691048 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@posteo.net>
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

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

* bug#34380: [PATCH 2/5] gnu: Add python-language-server.
  2019-02-08  4:09 [bug#34380] [PATCH 2/5] gnu: Add python-language-server Brett Gilio
@ 2019-02-12 22:05 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-02-12 22:05 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 34380-done

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

Brett Gilio <brettg@posteo.net> skribis:

>>From 915bd232185ebcab96d96dc400ee3f010e691048 Mon Sep 17 00:00:00 2001
> From: Brett Gilio <brettg@posteo.net>
> 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.

Applied with the changes below, thanks!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1633 bytes --]

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e8ff525c7e..4218515961 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2592,7 +2592,7 @@ Language (TOML) configuration files.")
   (build-system python-build-system)
   (propagated-inputs
    `(("python-pluggy" ,python-pluggy)
-     ("python-jsonrps-server" ,python-jsonrpc-server)
+     ("python-jsonrpc-server" ,python-jsonrpc-server)
      ("python-jedi" ,python-jedi)
      ("python-yapf" ,python-yapf)
      ("python-pyflakes" ,python-pyflakes)
@@ -2601,12 +2601,13 @@ Language (TOML) configuration files.")
      ("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")
+  (home-page "https://github.com/palantir/python-language-server")
+  (synopsis "Python implementation of 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.")
+   "The Python Language Server (pyls) is an implementation of the Python 3
+language specification for the Language Server Protocol (LSP).  This tool is
+used in text editing environments to provide a complete and integrated
+feature-set for programming Python effectively.")
   (license license:expat)))
 
 (define-public python-black

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

end of thread, other threads:[~2019-02-12 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08  4:09 [bug#34380] [PATCH 2/5] gnu: Add python-language-server Brett Gilio
2019-02-12 22:05 ` bug#34380: " Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.