From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBxLV-0003Y8-Ou for guix-patches@gnu.org; Fri, 27 Apr 2018 02:59:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBxLS-0002lj-Ld for guix-patches@gnu.org; Fri, 27 Apr 2018 02:59:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBxLS-0002ld-Hl for guix-patches@gnu.org; Fri, 27 Apr 2018 02:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fBxLS-0006Mp-Au for guix-patches@gnu.org; Fri, 27 Apr 2018 02:59:02 -0400 Subject: [bug#31282] [PATCH 1/2] gnu: Add python-parso. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBxKb-0003TI-Mt for guix-patches@gnu.org; Fri, 27 Apr 2018 02:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBxKY-00028b-Ib for guix-patches@gnu.org; Fri, 27 Apr 2018 02:58:09 -0400 Received: from mail-oln040092006018.outbound.protection.outlook.com ([40.92.6.18]:63120 helo=NAM03-BY2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fBxKY-00027u-64 for guix-patches@gnu.org; Fri, 27 Apr 2018 02:58:06 -0400 From: Fis Trivial Date: Fri, 27 Apr 2018 06:58:04 +0000 Message-ID: Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 31282@debbugs.gnu.org * gnu/packages/python.scm (python-parso, python2-parso): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index a5d533b1c..e4d9e9baa 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13145,3 +13145,28 @@ in Python. You can simply type pybtex instead of = bibtex.") (description "Python one-time password library for HMAC-based (HOTP) a= nd time-based (TOTP) passwords.") (license license:expat))) + +(define-public python-parso + (package + (name "python-parso") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "parso" version)) + (sha256 + (base32 + "0lamywk6dm5xshlkdvxxf5j6fa2k2zpi7xagf0bwidaay3vnpgb2")))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (build-system python-build-system) + (home-page + "https://github.com/davidhalter/parso") + (synopsis "Python Parser") + (description "Parso is a Python parser that supports error recovery an= d +round-trip parsing for different Python versions (in multiple Python versi= ons). +Parso is also able to list multiple syntax errors in your python file.") + (license license:expat))) + +(define-public python2-parso + (package-with-python2 python-parso)) --=20 2.14.3