guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add python-jedi.


From: Leo Famulari
Subject: 01/01: gnu: Add python-jedi.
Date: Sat, 9 Jul 2016 18:12:28 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit a502dfbf4ccd31121cb5fc0b13a46e25c99829b0
Author: Danny Milosavljevic <address@hidden>
Date:   Sat Jul 9 14:48:32 2016 +0200

    gnu: Add python-jedi.
    
    * gnu/packages/python.scm (python-jedi, python2-jedi): New variables.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/python.scm |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ccbed0f..fb86290 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9724,3 +9724,31 @@ characters, mouse support, and auto suggestions.")
       (native-inputs
        `(("python2-setuptools" ,python2-setuptools)
          ,@(package-native-inputs base))))))
+
+(define-public python-jedi
+  (package
+    (name "python-jedi")
+    (version "0.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "jedi" version))
+        (sha256
+          (base32
+            "0c8x962ynpx001fdvp07m2q5jk4igkxbj3rmnydavphvlgxijk1v"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/davidhalter/jedi";)
+    (synopsis
+      "Autocompletion for Python that can be used for text editors")
+    (description
+      "Jedi is an autocompletion tool for Python that can be used for text 
editors.")
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-jedi))))))
+
+(define-public python2-jedi
+  (let ((base (package-with-python2 (strip-python2-variant python-jedi))))
+    (package
+      (inherit base)
+      (native-inputs
+       `(("python2-setuptools" ,python2-setuptools)
+         ,@(package-native-inputs base))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]