* [bug#74057] [PATCH] gnu: Add python-green. @ 2024-10-28 10:31 Wiktor Żelazny 2024-11-01 1:35 ` get-state 0 siblings, 1 reply; 5+ messages in thread From: Wiktor Żelazny @ 2024-10-28 10:31 UTC (permalink / raw) To: 74057 Cc: Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart * gnu/packages/python-check.scm (python-green): New variable. Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b --- 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 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))) base-commit: 4a46758aee863cc31815865cdac4c16fb6a0a879 -- 2.46.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#74057] QA for 74057 2024-10-28 10:31 [bug#74057] [PATCH] gnu: Add python-green Wiktor Żelazny @ 2024-11-01 1:35 ` get-state 0 siblings, 0 replies; 5+ messages in thread From: get-state @ 2024-11-01 1:27 UTC (permalink / raw) To: 74057, 74057 Cc: get-state, =guix-patches, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart 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 -- 2.46.0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#74057] QA for 74057 @ 2024-11-01 1:35 ` get-state 0 siblings, 0 replies; 5+ messages in thread From: get-state @ 2024-11-01 1:27 UTC (permalink / raw) To: 74057, 74057 Cc: get-state, =guix-patches, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart 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 -- 2.46.0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#74057] QA for 74057 @ 2024-11-01 1:35 ` get-state 0 siblings, 0 replies; 5+ messages in thread From: get-state @ 2024-11-01 1:35 UTC (permalink / raw) To: 74057 Cc: get-state, =guix-patches, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart 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 -- 2.46.0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#74057] [PATCH v2 1/1] gnu: Add python-green. 2024-11-01 1:35 ` get-state (?) @ 2024-11-01 1:35 ` get-state 2024-11-01 13:58 ` Maxim Cournoyer -1 siblings, 1 reply; 5+ messages in thread From: get-state @ 2024-11-01 1:35 UTC (permalink / raw) To: 74057 Cc: Wiktor Żelazny, =guix-patches, get-state, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart 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 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#74057] [PATCH v2 1/1] gnu: Add python-green. 2024-11-01 1:35 ` [bug#74057] [PATCH v2 1/1] gnu: Add python-green get-state @ 2024-11-01 13:58 ` Maxim Cournoyer 0 siblings, 0 replies; 5+ messages in thread From: Maxim Cournoyer @ 2024-11-01 13:58 UTC (permalink / raw) To: get-state Cc: Wiktor Żelazny, Sharlatan Hellseher, Munyoki Kilyungi, 74057-done, Lars-Dominik Braun, 74057, =guix-patches, Marius Bakke, Tanguy Le Carrour, jgart Hi, get-state <mazin@getstate.dev> writes: > 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> This is a cool collaboration :-). I believe the correct trailer to denote a review should be 'Reviewed-by: ...'. > --- > 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))) I've capitalized Python, adjusted the trailer and did a few improvements to the description/style: --8<---------------cut here---------------start------------->8--- 1 file changed, 32 insertions(+), 9 deletions(-) gnu/packages/python-check.scm | 41 ++++++++++++++++++++++++++++++++--------- modified gnu/packages/python-check.scm @@ -3015,15 +3015,38 @@ (define-public python-green (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)) + (native-inputs + (list python-black + python-django + python-mypy + python-testtools)) + ;; The python-coverage dependency appears both in requirements.txt and + ;; requirements-dev.txt. + (propagated-inputs + (list python-colorama + python-coverage + python-lxml + python-unidecode)) (home-page "https://github.com/CleanCut/green") - (synopsis "Clean, colorful, fast python test runner") + (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.") + "@code{green} is a Python test runner that describes itself as: +@table @emph +@item Clean +Low redundancy in output. Result statistics for each test is vertically aligned. +@item Colorful +Terminal output makes good use of color when the terminal supports it. +@item Fast +Tests run in independent processes (one per processor by default). +@item Powerful +Multi-target and auto-discovery support. +@item Traditional +It uses the normal @code{unittest} classes and methods. +@item Descriptive +Multiple verbosity levels, from just dots to full docstring output. +@item Convenient +Bash-completion and ZSH-completion of options and test targets. +@item Thorough +Built-in integration with @url{http://nedbatchelder.com/code/coverage/, coverage}. +@end table") (license license:expat))) [back] --8<---------------cut here---------------end--------------->8--- And pushed as commit 08dc72473b. Thanks to both of you! Closing. -- Maxim ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-11-01 14:01 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-10-28 10:31 [bug#74057] [PATCH] gnu: Add python-green Wiktor Żelazny 2024-11-01 1:27 ` [bug#74057] QA for 74057 get-state 2024-11-01 1:27 ` get-state 2024-11-01 1:35 ` get-state 2024-11-01 1:35 ` [bug#74057] [PATCH v2 1/1] gnu: Add python-green get-state 2024-11-01 13:58 ` Maxim Cournoyer
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.