unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51587] [PATCH 0/3] Add rss2email.
@ 2021-11-03 16:27 Morgan.J.Smith
  2021-11-03 16:37 ` [bug#51587] [PATCH 1/3] gnu: Add python-sgmllib3k Morgan.J.Smith
  2021-11-11 15:30 ` [bug#51587] [PATCH v2 0/3] gnu: Add rss2email Morgan.J.Smith
  0 siblings, 2 replies; 4+ messages in thread
From: Morgan.J.Smith @ 2021-11-03 16:27 UTC (permalink / raw)
  To: 51587

[PATCH 1/3] gnu: Add python-sgmllib3k.
[PATCH 2/3] gnu: python-feedparser: Add input
[PATCH 3/3] gnu: Add rss2email.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#51587] [PATCH 1/3] gnu: Add python-sgmllib3k.
  2021-11-03 16:27 [bug#51587] [PATCH 0/3] Add rss2email Morgan.J.Smith
@ 2021-11-03 16:37 ` Morgan.J.Smith
  2021-11-05 15:35   ` Vinicius Monego
  2021-11-11 15:30 ` [bug#51587] [PATCH v2 0/3] gnu: Add rss2email Morgan.J.Smith
  1 sibling, 1 reply; 4+ messages in thread
From: Morgan.J.Smith @ 2021-11-03 16:37 UTC (permalink / raw)
  To: 51587; +Cc: Morgan Smith

From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/python-xyz.scm (python-sgmllib3k): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32d6b403d4..d2aca67aca 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27643,3 +27643,26 @@ (define-public python-ijson
      "Ijson is an iterative JSON parser with standard Python iterator
 interfaces.")
     (license license:bsd-3)))
+
+(define-public python-sgmllib3k
+  (package
+    (name "python-sgmllib3k")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sgmllib3k" version))
+        (sha256
+          (base32 "1s8jm3dgqabgf8x96931scji679qkhvczlv3qld4qxpsicfgns3q"))))
+    (build-system python-build-system)
+    ;; Requires a test.html input that is not supplied
+    (arguments
+     `(#:tests? #f))
+    (home-page "https://pypi.org/project/sgmllib3k/")
+    ;; Actual homepage seems to be down
+    ;; (home-page "https://hg.hardcoded.net/sgmllib")
+    (synopsis "Python 3 port of sgmllib")
+    (description "A quick, dirty, unmaintained port of sgmllib to Python 3.
+It is used parse text files formatted in @acronym{SGML,Standard Generalized
+Mark-up Language}.")
+    (license license:bsd-3)))
-- 
2.33.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#51587] [PATCH 1/3] gnu: Add python-sgmllib3k.
  2021-11-03 16:37 ` [bug#51587] [PATCH 1/3] gnu: Add python-sgmllib3k Morgan.J.Smith
@ 2021-11-05 15:35   ` Vinicius Monego
  0 siblings, 0 replies; 4+ messages in thread
From: Vinicius Monego @ 2021-11-05 15:35 UTC (permalink / raw)
  To: Morgan.J.Smith, 51587

Hi,

I added this patch in 51314, and now I also noticed that it was
submitted even earlier in 50853. Maybe we should review that one first?

Em qua, 2021-11-03 às 12:37 -0400, Morgan.J.Smith@outlook.com escreveu:
> From: Morgan Smith <Morgan.J.Smith@outlook.com>
> 
> * gnu/packages/python-xyz.scm (python-sgmllib3k): New variable.
> ---
>  gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-
> xyz.scm
> index 32d6b403d4..d2aca67aca 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -27643,3 +27643,26 @@ (define-public python-ijson
>       "Ijson is an iterative JSON parser with standard Python
> iterator
>  interfaces.")
>      (license license:bsd-3)))
> +
> +(define-public python-sgmllib3k
> +  (package
> +    (name "python-sgmllib3k")
> +    (version "1.0.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "sgmllib3k" version))
> +        (sha256
> +          (base32
> "1s8jm3dgqabgf8x96931scji679qkhvczlv3qld4qxpsicfgns3q"))))

Indentation nitpick here in the source.

> +    (build-system python-build-system)
> +    ;; Requires a test.html input that is not supplied
> +    (arguments
> +     `(#:tests? #f))
> +    (home-page "https://pypi.org/project/sgmllib3k/")
> +    ;; Actual homepage seems to be down
> +    ;; (home-page "https://hg.hardcoded.net/sgmllib")
> +    (synopsis "Python 3 port of sgmllib")
> +    (description "A quick, dirty, unmaintained port of sgmllib to
> Python 3.
> +It is used parse text files formatted in @acronym{SGML,Standard
> Generalized
> +Mark-up Language}.")

I think this description doesn't qualify as a full sentence.

> +    (license license:bsd-3)))






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#51587] [PATCH v2 0/3] gnu: Add rss2email.
  2021-11-03 16:27 [bug#51587] [PATCH 0/3] Add rss2email Morgan.J.Smith
  2021-11-03 16:37 ` [bug#51587] [PATCH 1/3] gnu: Add python-sgmllib3k Morgan.J.Smith
@ 2021-11-11 15:30 ` Morgan.J.Smith
  1 sibling, 0 replies; 4+ messages in thread
From: Morgan.J.Smith @ 2021-11-11 15:30 UTC (permalink / raw)
  To: monego, 51587

Thanks for the review!

I looked over both previously submitted sgmllib3k packages and I think my patch is the best as the description mentions SGML.

I fixed the sgmllib3k indentation issue and added a missing word to the description.

For the rss2email patch:
- I added my copyright to mail.scm
- I removed the inputs and outputs from the check phase
- Made the input not propagated. It is indeed a binary that seems to still work this way.
- Fixed that comment
- Slightly modified the description but I'm honestly not sure what the issue is. I'll admit I'm not very good at english so if you could just change it how you see fit that would make me happy


[PATCH v2 1/3] gnu: Add python-sgmllib3k.
[PATCH v2 2/3] gnu: python-feedparser: Add input
[PATCH v2 3/3] gnu: Add rss2email.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-11 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 16:27 [bug#51587] [PATCH 0/3] Add rss2email Morgan.J.Smith
2021-11-03 16:37 ` [bug#51587] [PATCH 1/3] gnu: Add python-sgmllib3k Morgan.J.Smith
2021-11-05 15:35   ` Vinicius Monego
2021-11-11 15:30 ` [bug#51587] [PATCH v2 0/3] gnu: Add rss2email Morgan.J.Smith

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).