From 81bed4e92b75c06605938371f5365d7283a7a9fd Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 15 Jan 2019 15:46:55 +0100 Subject: gnu: Add python-astor. * gnu/packages/python-xyz.scm (python-astor): New variable. --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fee94aa537..d6f994a3f5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14693,6 +14693,26 @@ (define-public python-absl-py of Python libraries for building Python applications.") (license license:asl2.0))) +(define-public python-astor + (package + (name "python-astor") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "astor" version)) + (sha256 + (base32 + "13gv6f2xz9i564byp21gcpc0l3w4cs23k1wbcam8kky2ls3hvhwm")))) + (build-system python-build-system) + ;; FIXME: There are two errors and two test failures. + (arguments `(#:tests? #f)) + (home-page "https://github.com/berkerpeksag/astor") + (synopsis "Read/rewrite/write Python ASTs") + (description "Astor is designed to allow easy manipulation of Python +source via the AST.") + (license license:bsd-3))) + (define-public python-wikidata (package (name "python-wikidata") -- cgit v1.2.3