From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:47616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLUuk-0007OG-8T for guix-patches@gnu.org; Tue, 30 Apr 2019 11:43:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLUhn-0001UM-US for guix-patches@gnu.org; Tue, 30 Apr 2019 11:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLUhn-0001U8-Fl for guix-patches@gnu.org; Tue, 30 Apr 2019 11:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLUhn-0001vi-BF for guix-patches@gnu.org; Tue, 30 Apr 2019 11:30:03 -0400 Subject: [bug#35193] [PATCH v2 1/3] gnu: Add python-typed-ast Resent-Message-ID: From: wednesday Message-ID: <20190430152914.13616-2-jessejohngildersleve@zohomail.eu> Date: Tue, 30 Apr 2019 16:29:12 +0100 In-Reply-To: <20190430152914.13616-1-jessejohngildersleve@zohomail.eu> References: <20190430152914.13616-1-jessejohngildersleve@zohomail.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 35193@debbugs.gnu.org Cc: wednesday * gnu/packages/python-xyz.scm (python-typed-ast): New public variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 35147ebfa7..79271f0e41 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -59,6 +59,7 @@ ;;; Copyright =C2=A9 2018 Vagrant Cascadian ;;; Copyright =C2=A9 2019 Brett Gilio ;;; Copyright =C2=A9 2019 Sam +;;; Copyright =C2=A9 2019 Jesse John Gildersleve ;;; ;;; This file is part of GNU Guix. ;;; @@ -15630,3 +15631,25 @@ processes may share the same data.") (description "A Sphinx extension to convert SVG images to PDF in case = the builder does not support SVG images natively (e.g. LaTeX).") (license license:bsd-3))) + +(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) + (home-page "https://github.com/python/typed_ast") + (synopsis "Fork of Python 2 and 3 ast modules with type comment suppor= t") + (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 pars= ers 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 Pyth= on 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:asl2.0))) --=20 2.21.0