From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 3/5] gnu: Add python-astor. Date: Wed, 13 Jan 2016 09:27:25 +0800 Message-ID: <1452648447-2684-3-git-send-email-iyzsong@gmail.com> References: <1452648447-2684-1-git-send-email-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJAGh-0003C3-6B for guix-devel@gnu.org; Tue, 12 Jan 2016 20:30:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJAGd-0002h5-UY for guix-devel@gnu.org; Tue, 12 Jan 2016 20:30:35 -0500 Received: from smtp4.openmailbox.org ([62.4.1.38]:41242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJAGd-0002h1-OW for guix-devel@gnu.org; Tue, 12 Jan 2016 20:30:31 -0500 In-Reply-To: <1452648447-2684-1-git-send-email-iyzsong@gmail.com> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * gnu/packages/python.scm (python-astor, python2-astor): New variables. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e54f521..95e9a09 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6666,3 +6666,26 @@ commandline applications.") (define-public python2-clint (package-with-python2 python-clint)) + +(define-public python-astor + (package + (name "python-astor") + (version "0.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "astor" version)) + (sha256 + (base32 + "1fdafq5hkis1fxqlmhw0sn44zp2ar46nxhbc22cvwg7hsd8z5gsa")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/berkerpeksag/astor") + (synopsis "Read and write Python ASTs") + (description + "Astor is designed to allow easy manipulation of Python source via the +Abstract Syntax Tree.") + (license bsd-3))) + +(define-public python2-astor + (package-with-python2 python-astor)) -- 2.5.0