From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:40590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmZX-000802-3Q for guix-patches@gnu.org; Tue, 28 May 2019 20:36:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmZW-0001JF-3c for guix-patches@gnu.org; Tue, 28 May 2019 20:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44200) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVmZW-0001J9-0h for guix-patches@gnu.org; Tue, 28 May 2019 20:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVmZV-00067e-Sp for guix-patches@gnu.org; Tue, 28 May 2019 20:36:01 -0400 Subject: [bug#35974] [PATCH 42/47] gnu: Add python-typed-ast. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:40325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmYZ-0007H3-0l for guix-patches@gnu.org; Tue, 28 May 2019 20:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmYY-0000Sc-3y for guix-patches@gnu.org; Tue, 28 May 2019 20:35:02 -0400 Received: from 37.59.236.227.rdns.hasaserver.com ([37.59.236.227]:55886 helo=hamzeh-VirtualBox.Home) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmYX-0000Pd-IC for guix-patches@gnu.org; Tue, 28 May 2019 20:35:02 -0400 From: "h.nasajpour" Date: Wed, 29 May 2019 05:04:59 +0430 Message-Id: <20190529003459.3108-1-h.nasajpour@pantherx.org> In-Reply-To: References: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35974@debbugs.gnu.org Cc: "h.nasajpour" * 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