guix-commits
[Top][All Lists]
Advanced

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

03/09: gnu: Add python-future-fstrings.


From: Ricardo Wurmus
Subject: 03/09: gnu: Add python-future-fstrings.
Date: Thu, 15 Feb 2018 11:19:32 -0500 (EST)

rekado pushed a commit to branch core-updates
in repository guix.

commit 130d290e29fa3af4567fba1132c55cedd2d0e11a
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Feb 14 14:27:16 2018 +0100

    gnu: Add python-future-fstrings.
    
    * gnu/packages/python.scm (python-future-fstrings): New variable.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 18aa4f5..b05a4a4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12684,3 +12684,26 @@ standard library.  It provides two additional tokens 
@code{ESCAPED_NL} and
 @code{UNIMPORTANT_WS}, and a @code{Token} data type.  Use @code{src_to_tokens}
 and @code{tokens_to_src} to roundtrip.")
     (license license:expat)))
+
+(define-public python-future-fstrings
+  (package
+    (name "python-future-fstrings")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "future_fstrings" version))
+       (sha256
+        (base32
+         "0ydxqz2dvns44g55p8ix2x18qkfk3aaz0m0dc70f3g6n8js35h47"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-tokenize-rt" ,python-tokenize-rt)))
+    (home-page "https://github.com/asottile/future-fstrings";)
+    (synopsis "Backport of fstrings to Python < 3.6")
+    (description
+     "This package provides a UTF-8 compatible encoding
address@hidden, which performs source manipulation.  It decodes the
+source bytes using the UTF-8 encoding and then rewrites Python 3.6 style
address@hidden strings.")
+    (license license:expat)))



reply via email to

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