[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49123] [PATCH 22/24] gnu: Add python-redbaron.
From: |
slg |
Subject: |
[bug#49123] [PATCH 22/24] gnu: Add python-redbaron. |
Date: |
Sat, 19 Jun 2021 22:07:40 -0300 |
* gnu/packages/python-xyz.scm (python-redbaron): New variable.
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6096ba29d1..6dd42d5455 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26115,3 +26115,38 @@ 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)))
+
+(define-public python-redbaron
+ (package
+ (name "python-redbaron")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "redbaron" version))
+ (sha256
+ (base32
+ "0bqkq0wn20cc3qrcd1ifq74p4m570j345bkq4axl08kbr8whfba7"))))
+ (build-system python-build-system)
+ ;;(native-inputs
+ ;; `(("python-pytest" ,python-pytest))) ;; Uncomment when tests fixed
+ (propagated-inputs
+ `(("python-baron" ,python-baron)))
+ (arguments
+ `(#:tests? #f ;; Syntax error in tests, enable when fixed
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "tests/")))))))
+ (home-page "https://github.com/PyCQA/redbaron")
+ (synopsis "Tool for writing code that modifies source code")
+ (description "RedBaron is a python library and tool powerful
+enough to be used into IPython solely that intent to make the process
+of writing code that modify source code as easy and as simple as
+possible. That include writing custom refactoring, generic refactoring,
+tools, IDE or directly modifying you source code into IPython with a
+higher and more powerful abstraction than the advanced texts
+modification tools that you find in advanced text editors and IDE.")
+ (license license:lgpl3)))
--
2.32.0
- [bug#49123] [PATCH 13/24] gnu: python-socks: Update to 1.2.4., (continued)
- [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, 2021/06/19
- [bug#49123] [PATCH 22/24] gnu: Add python-redbaron.,
slg <=
- [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