[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35974] [PATCH 42/47] gnu: Add python-typed-ast.
From: |
h.nasajpour |
Subject: |
[bug#35974] [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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#35974] [PATCH 42/47] gnu: Add python-typed-ast.,
h.nasajpour <=