[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49123] [PATCH 21/24] gnu: Add python-baron.
From: |
slg |
Subject: |
[bug#49123] [PATCH 21/24] gnu: Add python-baron. |
Date: |
Sat, 19 Jun 2021 22:07:39 -0300 |
* gnu/packages/python-xyz.scm (python-baron): New variable.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6db019082d..6096ba29d1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26083,3 +26083,35 @@ is a Python port from filetype Go package.")
(description "Plyer is a platform-independent api to use features
commonly found on various platforms, notably mobile ones, in Python.")
(license license:x11)))
+
+(define-public python-baron
+ (package
+ (name "python-baron")
+ (version "0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "baron" version))
+ (sha256
+ (base32
+ "0fib74nkqnl1i2zzlhbbfpw3whwc4951p9x61r2xrxhwp4r9yn5h"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-rply" ,python-rply)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv" "tests/")
+ #t)))))
+ (home-page "https://github.com/PyCQA/baron")
+ (synopsis "Full Syntax Tree (FST) Python library")
+ (description "Baron is a Full Syntax Tree (FST) library for Python.
+By opposition to an AST which drops some syntax information in the
+process of its creation (like empty lines, comments, formatting), a FST
+keeps everything and guarantees the operation
+@code{fst_to_code(code_to_fst(source_code)) == source_code}.")
+ (license license:lgpl3)))
--
2.32.0
- [bug#49123] [PATCH 09/24] gnu: python-hyperframe: Update to 6.0.1., (continued)
- [bug#49123] [PATCH 09/24] gnu: python-hyperframe: Update to 6.0.1., slg, 2021/06/19
- [bug#49123] [PATCH 13/24] gnu: python-socks: Update to 1.2.4., slg, 2021/06/19
- [bug#49123] [PATCH 14/24] gnu: python-aiohttp-socks: Update to 0.6.0., slg, 2021/06/19
- [bug#49123] [PATCH 11/24] gnu: python-h11: Update to 0.12.0., slg, 2021/06/19
- [bug#49123] [PATCH 10/24] gnu: python-h2: Update to 4.0.0., slg, 2021/06/19
- [bug#49123] [PATCH 12/24] gnu: python-future: Update to 0.18.2., slg, 2021/06/19
- [bug#49123] [PATCH 15/24] gnu: Add python-aioresponses., slg, 2021/06/19
- [bug#49123] [PATCH 16/24] gnu: python-hpack: Update to 4.0.0., slg, 2021/06/19
- [bug#49123] [PATCH 18/24] gnu: python-pymediainfo: Update to 5.1.0., slg, 2021/06/19
- [bug#49123] [PATCH 17/24] gnu: Add python-matrix-nio., slg, 2021/06/19
- [bug#49123] [PATCH 21/24] gnu: Add python-baron.,
slg <=
- [bug#49123] [PATCH 22/24] gnu: Add python-redbaron., slg, 2021/06/19
- [bug#49123] [PATCH 24/24] gnu: Add mirage., slg, 2021/06/19
- [bug#49123] [PATCH 19/24] gnu: python-watchgod: Update to 0.7., slg, 2021/06/19
- [bug#49123] [PATCH 23/24] gnu: Add python-hsluv., slg, 2021/06/19
- [bug#49123] [PATCH 20/24] gnu: Add python-plyer., slg, 2021/06/19