unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "h.nasajpour" <h.nasajpour@pantherx.org>
To: 35974@debbugs.gnu.org
Cc: "h.nasajpour" <h.nasajpour@pantherx.org>
Subject: [bug#35974] [PATCH 42/47] gnu: Add python-typed-ast.
Date: Wed, 29 May 2019 05:04:59 +0430	[thread overview]
Message-ID: <20190529003459.3108-1-h.nasajpour@pantherx.org> (raw)
In-Reply-To: <h.nasajpour@pantherx.org>

* 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

             reply	other threads:[~2019-05-29  0:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-29  0:34 h.nasajpour [this message]
2019-12-10  6:07 ` bug#35974: [PATCH 42/47] gnu: Add python-typed-ast Brett Gilio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190529003459.3108-1-h.nasajpour@pantherx.org \
    --to=h.nasajpour@pantherx.org \
    --cc=35974@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).