From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Add python-ply and python2-ply. Date: Tue, 7 Jun 2016 01:01:10 +0200 Message-ID: <20160607010110.52922ed9@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bA3WQ-0006Rz-3j for guix-devel@gnu.org; Mon, 06 Jun 2016 19:01:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bA3WL-00059f-1E for guix-devel@gnu.org; Mon, 06 Jun 2016 19:01:25 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:43980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bA3WK-00059G-Qy for guix-devel@gnu.org; Mon, 06 Jun 2016 19:01:20 -0400 Received: from localhost (77.118.0.43.wireless.dyn.drei.com [77.118.0.43]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 5DBBD1CA0392 for ; Tue, 7 Jun 2016 01:01:13 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org gnu: Add python-ply and python2-ply. * gnu/packages/python.scm (python-ply, python2-ply): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dfbf2cc..3ca2a86 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9009,3 +9009,30 @@ focus on event-based network programming and multiprotocol integration.") (define-public python2-twisted (package-with-python2 python-twisted)) + +(define-public python-ply + (package + (name "python-ply") + (version "3.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/96/e0/" + "430fcdb6b3ef1ae534d231397bee7e9304be14a47a267e82ebcb3323d0b5/ply-" + version + ".tar.gz")) + (sha256 + (base32 + "1f70ipynmiy09k6px2j7v4w5cdrc21za3xs2k6f1bsvb0bzvvlg7")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://www.dabeaz.com/ply/") + (synopsis "Python Lex & Yacc") + (description "ply is an lex/yacc implemented purely in Python. It uses +LR parsing and does extensive error checking.") + (license bsd-3))) + +(define-public python2-ply + (package-with-python2 python-ply))