From: 宋文武 <iyzsong@gmail.com>
To: guix-devel@gnu.org
Cc: 宋文武 <iyzsong@gmail.com>
Subject: [PATCH 3/5] gnu: Add python-astor.
Date: Wed, 13 Jan 2016 09:27:25 +0800 [thread overview]
Message-ID: <1452648447-2684-3-git-send-email-iyzsong@gmail.com> (raw)
In-Reply-To: <1452648447-2684-1-git-send-email-iyzsong@gmail.com>
* 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
next prev parent reply other threads:[~2016-01-13 1:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 1:27 [PATCH 1/5] gnu: Add python-args 宋文武
2016-01-13 1:27 ` [PATCH 2/5] gnu: Add python-clint 宋文武
2016-01-15 15:07 ` Ludovic Courtès
2016-01-13 1:27 ` 宋文武 [this message]
2016-01-15 15:08 ` [PATCH 3/5] gnu: Add python-astor Ludovic Courtès
2016-01-13 1:27 ` [PATCH 4/5] gnu: Add python-rply 宋文武
2016-01-15 16:11 ` Ludovic Courtès
2016-01-13 1:27 ` [PATCH 5/5] gnu: Add python-hy 宋文武
2016-01-15 16:12 ` Ludovic Courtès
2016-01-16 0:20 ` 宋文武
2016-01-15 15:04 ` [PATCH 1/5] gnu: Add python-args Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452648447-2684-3-git-send-email-iyzsong@gmail.com \
--to=iyzsong@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).