GNU bug report logs - #35974
[PATCH 42/47] gnu: Add python-typed-ast.

Previous Next

Package: guix-patches;

Reported by: "h.nasajpour" <h.nasajpour <at> pantherx.org>

Date: Wed, 29 May 2019 00:36:01 UTC

Severity: normal

Tags: patch

Done: Brett Gilio <brettg <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "h.nasajpour" <h.nasajpour <at> pantherx.org>
To: guix-patches <at> gnu.org
Cc: "h.nasajpour" <h.nasajpour <at> pantherx.org>
Subject: [PATCH 42/47] gnu: Add python-typed-ast.
Date: Wed, 29 May 2019 05:04:59 +0430
* gnu/packages/python-xyz.scm (python-typed-ast): New variable
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0c06833cec..93783d17ee 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15474,3 +15474,25 @@ by Igor Pavlov.")
     (description
      "A module for cross-platform control of the mouse and keyboard in python that is simple to use.")
     (license license:lgpl3)))
+
+(define-public python-typed-ast
+  (package
+  (name "python-typed-ast")
+    (version "1.3.5")
+    (source (origin
+      (method url-fetch)
+      (uri (pypi-uri "typed-ast" version))
+      (sha256 (base32 "1m7pr6qpana3cvqwiw7mlvrgvmw27ch5mx1592572xhlki8g85ak"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))
+    (home-page "https://github.com/python/typed_ast")
+    (synopsis "A fork of Python 2 and 3 ast modules with type comment support")
+    (description
+     "typed_ast is a Python 3 package that provides a Python 2.7 and Python 3 parser similar to the standard ast library.
+	 Unlike ast, the parsers in typed_ast include PEP 484 type comments and are independent of the version of Python under which they are run.
+	 The typed_ast parsers produce the standard Python AST (plus type comments), and are both fast and correct,
+	 as they are based on the CPython 2.7 and 3.6 parsers.")
+    (license license:expat)))
+
+
-- 
2.17.1





This bug report was last modified 5 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.