[bug#74057] gnu: Add python-green.

Message ID 1ae7b1ecab0ddc6f3629de1f63b55d94cbc2aa3b.1730111347.git.wz@freeshell.de
State New
Headers
Series [bug#74057] gnu: Add python-green. |

Commit Message

Wiktor Żelazny Oct. 28, 2024, 10:31 a.m. UTC
* gnu/packages/python-check.scm (python-green): New variable.

Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b
---
 gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)


base-commit: 4a46758aee863cc31815865cdac4c16fb6a0a879
  

Comments

Mazin AlHaddad Nov. 1, 2024, 1:27 a.m. UTC | #1
Review: 
	* submission: checked commit format, synopsis and description
	* submission: license, patch applies cleanly
	* functionality: test installed, guix lint is clean
	* code: checked style to packages around it
	* added: Reviewed-by commit trailer
	* re-roll to trigger QA build

Wiktor Żelazny (1):
  gnu: Add python-green.

 gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)


base-commit: 6e50b0c56a8cc767bd3acb26638f78c450bde718
  
Sharlatan Hellseher Nov. 3, 2024, 12:20 p.m. UTC | #2
Closing the issue to clean up from QA.

--
Oleg
  

Patch

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index efd192ad2c..6cbb7e26e7 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3001,3 +3001,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)))