unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31282] [PATCH 1/2] gnu: Add python-parso.
@ 2018-04-27  6:58 Fis Trivial
  2018-04-27  7:03 ` [bug#31282] [PATCH 2/2] gnu: python-jedi: Update to 0.12.0, enable tests Fis Trivial
  2018-04-30 12:34 ` [bug#31282] [PATCH 1/2] gnu: Add python-parso Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Fis Trivial @ 2018-04-27  6:58 UTC (permalink / raw)
  To: 31282


* gnu/packages/python.scm (python-parso, python2-parso): New variables.
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a5d533b1c..e4d9e9baa 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13145,3 +13145,28 @@ in Python.  You can simply type pybtex instead of bibtex.")
     (description "Python one-time password library for HMAC-based (HOTP) and
 time-based (TOTP) passwords.")
     (license license:expat)))
+
+(define-public python-parso
+  (package
+    (name "python-parso")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "parso" version))
+       (sha256
+        (base32
+         "0lamywk6dm5xshlkdvxxf5j6fa2k2zpi7xagf0bwidaay3vnpgb2"))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/davidhalter/parso")
+    (synopsis "Python Parser")
+    (description "Parso is a Python parser that supports error recovery and
+round-trip parsing for different Python versions (in multiple Python versions).
+Parso is also able to list multiple syntax errors in your python file.")
+    (license license:expat)))
+
+(define-public python2-parso
+  (package-with-python2 python-parso))
-- 
2.14.3

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

* [bug#31282] [PATCH 2/2] gnu: python-jedi: Update to 0.12.0, enable tests.
  2018-04-27  6:58 [bug#31282] [PATCH 1/2] gnu: Add python-parso Fis Trivial
@ 2018-04-27  7:03 ` Fis Trivial
  2018-04-30 12:37   ` Ludovic Courtès
  2018-04-30 12:34 ` [bug#31282] [PATCH 1/2] gnu: Add python-parso Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Fis Trivial @ 2018-04-27  7:03 UTC (permalink / raw)
  To: 31282@debbugs.gnu.org


* gnu/packages/python.scm (jedi): Update to 0.12.0, enable tests.
---
 gnu/packages/python.scm | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e4d9e9baa..05ffb9f0d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9357,25 +9357,30 @@ characters, mouse support, and auto suggestions.")
 (define-public python-jedi
   (package
     (name "python-jedi")
-    (version "0.9.0")
+    (version "0.12.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "jedi" version))
-        (sha256
-          (base32
-            "0c8x962ynpx001fdvp07m2q5jk4igkxbj3rmnydavphvlgxijk1v"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jedi" version))
+       (sha256
+        (base32
+         "1bcr7csx4xil1iwmk03d79jis0bkmgi9k0kir3xa4rmwqsagcwhr"))))
     (build-system python-build-system)
     (arguments
-     ;; FIXME: One test fails (use "py.test" instead of 'setup.py test').
-     '(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check (lambda _
+                           (invoke "py.test" "-vv"))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)))
+     `(("python-pytest" ,python-pytest)
+       ("python-parso" ,python-parso)
+       ("python-docopt" ,python-docopt)))
     (home-page "https://github.com/davidhalter/jedi")
     (synopsis
-      "Autocompletion for Python that can be used for text editors")
+     "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.")
+     "Jedi is an autocompletion tool for Python that can be used for text
+ editors.")
     (license license:expat)))
 
 (define-public python2-jedi
-- 
2.14.3

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

* [bug#31282] [PATCH 1/2] gnu: Add python-parso.
  2018-04-27  6:58 [bug#31282] [PATCH 1/2] gnu: Add python-parso Fis Trivial
  2018-04-27  7:03 ` [bug#31282] [PATCH 2/2] gnu: python-jedi: Update to 0.12.0, enable tests Fis Trivial
@ 2018-04-30 12:34 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-04-30 12:34 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31282

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

Fis Trivial <ybbs.daans@hotmail.com> skribis:

> * gnu/packages/python.scm (python-parso, python2-parso): New variables.

Applied with the changes below, thanks!

Ludo'.


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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7fe27bd17..f23deb57e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13160,12 +13160,11 @@ time-based (TOTP) passwords.")
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (build-system python-build-system)
-    (home-page
-     "https://github.com/davidhalter/parso")
+    (home-page "https://github.com/davidhalter/parso")
     (synopsis "Python Parser")
     (description "Parso is a Python parser that supports error recovery and
 round-trip parsing for different Python versions (in multiple Python versions).
-Parso is also able to list multiple syntax errors in your python file.")
+Parso is also able to list multiple syntax errors in your Python file.")
     (license license:expat)))
 
 (define-public python2-parso

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

* [bug#31282] [PATCH 2/2] gnu: python-jedi: Update to 0.12.0, enable tests.
  2018-04-27  7:03 ` [bug#31282] [PATCH 2/2] gnu: python-jedi: Update to 0.12.0, enable tests Fis Trivial
@ 2018-04-30 12:37   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-04-30 12:37 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31282-done@debbugs.gnu.org

Fis Trivial <ybbs.daans@hotmail.com> skribis:

> * gnu/packages/python.scm (jedi): Update to 0.12.0, enable tests.

Applied, thanks!

Ludo'.

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

end of thread, other threads:[~2018-04-30 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27  6:58 [bug#31282] [PATCH 1/2] gnu: Add python-parso Fis Trivial
2018-04-27  7:03 ` [bug#31282] [PATCH 2/2] gnu: python-jedi: Update to 0.12.0, enable tests Fis Trivial
2018-04-30 12:37   ` Ludovic Courtès
2018-04-30 12:34 ` [bug#31282] [PATCH 1/2] gnu: Add python-parso Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).