guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/07: gnu: Add python-astunparse.


From: guix-commits
Subject: 05/07: gnu: Add python-astunparse.
Date: Tue, 15 Jan 2019 11:27:47 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 79869f806432522d4d9b60f0af1294e8808514b6
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Jan 15 15:47:32 2019 +0100

    gnu: Add python-astunparse.
    
    * gnu/packages/python-xyz.scm (python-astunparse): New 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 d6f994a..38a5087 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14713,6 +14713,29 @@ of Python libraries for building Python applications.")
 source via the AST.")
     (license license:bsd-3)))
 
+(define-public python-astunparse
+  (package
+    (name "python-astunparse")
+    (version "1.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "astunparse" version))
+       (sha256
+        (base32
+         "1jhidwyrqn17avqh9xnnm3wd7q7aahaq009cba67g86y6gxicyyj"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f)) ; there are none
+    (propagated-inputs
+     `(("python-six" ,python-six)
+       ("python-wheel" ,python-wheel)))
+    (home-page "https://github.com/simonpercivall/astunparse";)
+    (synopsis "AST unparser for Python")
+    (description "This package provides an AST unparser for Python.  It is a
+factored out version of @code{unparse} found in the Python source
+distribution.")
+    (license license:bsd-3)))
+
 (define-public python-wikidata
   (package
     (name "python-wikidata")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]