[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74057] [PATCH v2 1/1] gnu: Add python-green.
From: |
get-state |
Subject: |
[bug#74057] [PATCH v2 1/1] gnu: Add python-green. |
Date: |
Fri, 1 Nov 2024 04:27:14 +0300 |
From: Wiktor Żelazny <wz@freeshell.de>
* gnu/packages/python-check.scm (python-green): New variable.
Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b
Signed-off-by: get-state <mazin@getstate.dev>
---
gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index ba66b081a5..3d181c8f7e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3003,3 +3003,27 @@ (define-public python-vulture
dead code. Also, code that is only called implicitly may be reported as
unused.")
(license license:expat)))
+
+(define-public python-green
+ (package
+ (name "python-green")
+ (version "4.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "green" version))
+ (sha256
+ (base32 "1cd62nbn5dvlpnsyplp6cb24wd230san8dpm6pnl99n2kwzpq1m4"))))
+ (build-system pyproject-build-system)
+ ;; python-coverage both in requirements.txt and requirements-dev.txt
+ (propagated-inputs (list python-colorama python-coverage python-lxml
+ python-unidecode))
+ (native-inputs (list python-black python-django python-mypy
+ python-testtools))
+ (home-page "https://github.com/CleanCut/green")
+ (synopsis "Clean, colorful, fast python test runner")
+ (description
+ "@code{green} is a python test runner which in addition to
+being clean, colorful and fast describes itself as powerful, traditional,
+descriptive, convenient, thorough, embedded, modern, portable and living.")
+ (license license:expat)))
--
2.46.0