* [bug#70269] [PATCH] gnu: Add python-pybadges.
@ 2024-04-07 22:13 Giacomo Leidi via Guix-patches via
2024-05-13 5:40 ` Nicolas Graves via Guix-patches via
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-04-07 22:13 UTC (permalink / raw)
To: 70269
Cc: Giacomo Leidi, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-web.scm (python-pybadges): New variable.
Change-Id: Idd53ddf94b24112015c0a0b82396cf366920417e
---
gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9ad081beb1..da4f019476 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9123,6 +9123,40 @@ (define-public python-whatthepatch
"This package provides a library to parse and apply patches.")
(license license:expat)))
+(define-public python-pybadges
+ (package
+ (name "python-pybadges")
+ (version "3.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/pybadges")
+ (commit (string-append version))))
+ (file-name (git-file-name name version))
+ (sha256
+ "1zgb9idz7m3mzf8wvik0gwmyrxp753axqjv2pab326cr5myj1s4b")))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~'("-k"
+ ;; Disable network dependent tests.
+ "not test_changes and not test_not_image_url and not test_http_url")))
+ (propagated-inputs (list python-jinja2 python-requests))
+ (native-inputs (list python-flask
+ python-fonttools
+ python-nox
+ python-pillow
+ python-pytest
+ python-xmldiff))
+ (home-page "https://github.com/google/pybadges")
+ (synopsis
+ "Libbrary and command-line tool for generating Github-style badges")
+ (description
+ "This package provides @code{python-pybadges}: a library and command-line
+tool for generating Github-style badges.")
+ (license license:asl2.0)))
+
(define-public python-grid5000
(package
(name "python-grid5000")
base-commit: 69951a61a1d8f1f2135ea2dc836738be282b97bc
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#70269] [PATCH] gnu: Add python-pybadges.
2024-04-07 22:13 [bug#70269] [PATCH] gnu: Add python-pybadges Giacomo Leidi via Guix-patches via
@ 2024-05-13 5:40 ` Nicolas Graves via Guix-patches via
2024-05-13 17:07 ` paul via Guix-patches via
2024-05-13 17:05 ` [bug#70269] [PATCH v2] " Giacomo Leidi via Guix-patches via
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-05-13 5:40 UTC (permalink / raw)
To: 70269
Cc: Giacomo Leidi, Sharlatan Hellseher, Munyoki Kilyungi,
Lars-Dominik Braun, jgart, Marius Bakke, Tanguy Le Carrour
On 2024-04-08 00:13, Giacomo Leidi via Guix-patches via wrote:
> * gnu/packages/python-web.scm (python-pybadges): New variable.
>
> Change-Id: Idd53ddf94b24112015c0a0b82396cf366920417e
> ---
> gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
> index 9ad081beb1..da4f019476 100644
> --- a/gnu/packages/python-web.scm
> +++ b/gnu/packages/python-web.scm
> @@ -9123,6 +9123,40 @@ (define-public python-whatthepatch
> "This package provides a library to parse and apply patches.")
> (license license:expat)))
>
> +(define-public python-pybadges
> + (package
> + (name "python-pybadges")
> + (version "3.0.1")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/google/pybadges")
> + (commit (string-append version))))
(string-append with a single string is a bit odd ;)
> + (file-name (git-file-name name version))
> + (sha256
> + "1zgb9idz7m3mzf8wvik0gwmyrxp753axqjv2pab326cr5myj1s4b")))
> + (build-system pyproject-build-system)
> + (arguments
> + (list
> + #:test-flags
> + #~'("-k"
> + ;; Disable network dependent tests.
> + "not test_changes and not test_not_image_url and not test_http_url")))
> + (propagated-inputs (list python-jinja2 python-requests))
> + (native-inputs (list python-flask
> + python-fonttools
> + python-nox
> + python-pillow
> + python-pytest
> + python-xmldiff))
> + (home-page "https://github.com/google/pybadges")
> + (synopsis
> + "Libbrary and command-line tool for generating Github-style badges")
^ typo there
> + (description
> + "This package provides @code{python-pybadges}: a library and command-line
> +tool for generating Github-style badges.")
Maybe you can be a bit more descriptive: "as SVG images" in the Github
description is informative. I often also like (but I'm not sure it's a
norm) to write my synopsis as an action statement, such as "Generate
Github-style badges on the command-line".
> + (license license:asl2.0)))
Otherwise LGTM.
> +
> (define-public python-grid5000
> (package
> (name "python-grid5000")
>
> base-commit: 69951a61a1d8f1f2135ea2dc836738be282b97bc
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#70269] [PATCH v2] gnu: Add python-pybadges.
2024-04-07 22:13 [bug#70269] [PATCH] gnu: Add python-pybadges Giacomo Leidi via Guix-patches via
2024-05-13 5:40 ` Nicolas Graves via Guix-patches via
@ 2024-05-13 17:05 ` Giacomo Leidi via Guix-patches via
2024-05-31 10:02 ` bug#70269: " Ludovic Courtès
2024-05-14 20:10 ` [bug#70269] QA review for 70269 Nicolas Graves via Guix-patches via
2024-05-15 13:58 ` [bug#70269] Comments Andreas Enge
3 siblings, 1 reply; 7+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-05-13 17:05 UTC (permalink / raw)
To: 70269
Cc: Giacomo Leidi, Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-web.scm (python-pybadges): New variable.
Change-Id: Idd53ddf94b24112015c0a0b82396cf366920417e
---
gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index affa2f52f4..df19b30386 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9183,6 +9183,40 @@ (define-public python-whatthepatch
"This package provides a library to parse and apply patches.")
(license license:expat)))
+(define-public python-pybadges
+ (package
+ (name "python-pybadges")
+ (version "3.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/pybadges")
+ (commit (string-append version))))
+ (file-name (git-file-name name version))
+ (sha256
+ "1zgb9idz7m3mzf8wvik0gwmyrxp753axqjv2pab326cr5myj1s4b")))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~'("-k"
+ ;; Disable network dependent tests.
+ "not test_changes and not test_not_image_url and not test_http_url")))
+ (propagated-inputs (list python-jinja2 python-requests))
+ (native-inputs (list python-flask
+ python-fonttools
+ python-nox
+ python-pillow
+ python-pytest
+ python-xmldiff))
+ (home-page "https://github.com/google/pybadges")
+ (synopsis
+ "Generate Github-style badges on the command-line")
+ (description
+ "This package provides @code{python-pybadges}: a library and command-line
+tool for generating Github-style badges as SVG images.")
+ (license license:asl2.0)))
+
(define-public python-grid5000
(package
(name "python-grid5000")
base-commit: aa9ac252206615713ab988d7068da9e14a9bccc0
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#70269] [PATCH] gnu: Add python-pybadges.
2024-05-13 5:40 ` Nicolas Graves via Guix-patches via
@ 2024-05-13 17:07 ` paul via Guix-patches via
0 siblings, 0 replies; 7+ messages in thread
From: paul via Guix-patches via @ 2024-05-13 17:07 UTC (permalink / raw)
To: Nicolas Graves, 70269
Cc: Sharlatan Hellseher, Munyoki Kilyungi, Lars-Dominik Braun, jgart,
Marius Bakke, Tanguy Le Carrour
Hi Nicolas,
Thank you for your review: I'm sending an updated patch.
giacomo
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#70269] QA review for 70269
2024-04-07 22:13 [bug#70269] [PATCH] gnu: Add python-pybadges Giacomo Leidi via Guix-patches via
2024-05-13 5:40 ` Nicolas Graves via Guix-patches via
2024-05-13 17:05 ` [bug#70269] [PATCH v2] " Giacomo Leidi via Guix-patches via
@ 2024-05-14 20:10 ` Nicolas Graves via Guix-patches via
2024-05-15 13:58 ` [bug#70269] Comments Andreas Enge
3 siblings, 0 replies; 7+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-05-14 20:10 UTC (permalink / raw)
To: control, 70269
user guix
usertag 70269 + reviewed-looks-good
thanks
Guix QA review form submission:
LGTM
Items marked as checked: Lint warnings, Package builds, Commit messages, New package licenses, New package tests, New package synopsis and descriptions
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#70269] Comments
2024-04-07 22:13 [bug#70269] [PATCH] gnu: Add python-pybadges Giacomo Leidi via Guix-patches via
` (2 preceding siblings ...)
2024-05-14 20:10 ` [bug#70269] QA review for 70269 Nicolas Graves via Guix-patches via
@ 2024-05-15 13:58 ` Andreas Enge
3 siblings, 0 replies; 7+ messages in thread
From: Andreas Enge @ 2024-05-15 13:58 UTC (permalink / raw)
To: 70269
Hello,
the lonely "string-append" is still there, and the description a bit short.
I would not mind changing that myself, but since I am having trouble
downloading the patch anyway (clicking on "download raw message" in
issues.guix.gnu.org drops the attached commit), I will let you send in
a third version.
Thanks!
Andreas
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#70269: [PATCH v2] gnu: Add python-pybadges.
2024-05-13 17:05 ` [bug#70269] [PATCH v2] " Giacomo Leidi via Guix-patches via
@ 2024-05-31 10:02 ` Ludovic Courtès
0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2024-05-31 10:02 UTC (permalink / raw)
To: Giacomo Leidi
Cc: Sharlatan Hellseher, Munyoki Kilyungi, 70269-done,
Lars-Dominik Braun, jgart, Marius Bakke, Tanguy Le Carrour
[-- Attachment #1: Type: text/plain, Size: 99 bytes --]
Hi,
Applied with the changes below, as suggested by Andreas.
Thanks everyone!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1098 bytes --]
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4970366c93d..5ca50fa5a6c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9232,7 +9232,7 @@ (define-public python-pybadges
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/pybadges")
- (commit (string-append version))))
+ (commit version)))
(file-name (git-file-name name version))
(sha256
"1zgb9idz7m3mzf8wvik0gwmyrxp753axqjv2pab326cr5myj1s4b")))
@@ -9251,8 +9251,7 @@ (define-public python-pybadges
python-pytest
python-xmldiff))
(home-page "https://github.com/google/pybadges")
- (synopsis
- "Generate Github-style badges on the command-line")
+ (synopsis "Generate Github-style badges on the command-line")
(description
"This package provides @code{python-pybadges}: a library and command-line
tool for generating Github-style badges as SVG images.")
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-05-31 10:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-07 22:13 [bug#70269] [PATCH] gnu: Add python-pybadges Giacomo Leidi via Guix-patches via
2024-05-13 5:40 ` Nicolas Graves via Guix-patches via
2024-05-13 17:07 ` paul via Guix-patches via
2024-05-13 17:05 ` [bug#70269] [PATCH v2] " Giacomo Leidi via Guix-patches via
2024-05-31 10:02 ` bug#70269: " Ludovic Courtès
2024-05-14 20:10 ` [bug#70269] QA review for 70269 Nicolas Graves via Guix-patches via
2024-05-15 13:58 ` [bug#70269] Comments Andreas Enge
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).