* [bug#51587] [PATCH 2/3] gnu: python-feedparser: Add input [not found] <20211103163727.20013-1-Morgan.J.Smith@outlook.com> @ 2021-11-03 16:37 ` Morgan.J.Smith 2021-11-03 16:37 ` [bug#51587] [PATCH 3/3] gnu: Add rss2email Morgan.J.Smith 1 sibling, 0 replies; 3+ 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/web.scm (python-feedparser) [propagated-inputs]: Add python-sgmllib3k --- gnu/packages/web.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8e865b7658..33ad874385 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4773,6 +4773,8 @@ (define-public python-feedparser (base32 "0x0hm9brh3j71645pydvlkrwxaaca9dnwd7xahwjyjaz882s200v")))) (build-system python-build-system) + (propagated-inputs + `(("python-sgmllib3k" ,python-sgmllib3k))) (arguments '(#:tests? #f)) (home-page -- 2.33.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#51587] [PATCH 3/3] gnu: Add rss2email. [not found] <20211103163727.20013-1-Morgan.J.Smith@outlook.com> 2021-11-03 16:37 ` [bug#51587] [PATCH 2/3] gnu: python-feedparser: Add input Morgan.J.Smith @ 2021-11-03 16:37 ` Morgan.J.Smith 2021-11-05 15:55 ` Vinicius Monego 1 sibling, 1 reply; 3+ 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/mail.scm (rss2email): New variable. --- gnu/packages/mail.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index c5d8cf04ff..04d27d0337 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -4614,3 +4614,41 @@ (define-public crm114 Bigrams, WINNOW, Correlation, KNN/Hyperspace, or Bit Entropy (or by other means--it's all programmable).") (license license:gpl3))) + +(define-public rss2email + (package + (name "rss2email") + (version "3.13.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rss2email/rss2email") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0g1yr3v3ibdh2jqil64fbdbplx5m2yzxr893fqfkwcc5c7fbwl4d")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (with-directory-excursion "test" + ;; Skip networking tests + (substitute* "test.py" + (("( *)class (:?TestSend|TestFetch).*" match indent) + (string-append indent "@unittest.skip(\"Networking stuff skipped\")\n" + indent match))) + (invoke "python" "-m" "unittest")))))))) + (propagated-inputs + `(("python-feedparser" ,python-feedparser) + ("python-html2text" ,python-html2text))) + (home-page "https://github.com/rss2email/rss2email") + (synopsis "Converts RSS/Atom newsfeeds to email") + (description "When run it fetches RSS/Atom newsfeeds, converts them into an email, and +emails them.") + ;; GPL version 2 or 3. NOT 2+. + (license (list license:gpl2 + license:gpl3)))) -- 2.33.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#51587] [PATCH 3/3] gnu: Add rss2email. 2021-11-03 16:37 ` [bug#51587] [PATCH 3/3] gnu: Add rss2email Morgan.J.Smith @ 2021-11-05 15:55 ` Vinicius Monego 0 siblings, 0 replies; 3+ messages in thread From: Vinicius Monego @ 2021-11-05 15:55 UTC (permalink / raw) To: Morgan.J.Smith, 51587 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/mail.scm (rss2email): New variable. > --- > gnu/packages/mail.scm | 38 ++++++++++++++++++++++++++++++++++++++ Please add your copyright line in this file. > 1 file changed, 38 insertions(+) > > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index c5d8cf04ff..04d27d0337 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -4614,3 +4614,41 @@ (define-public crm114 > Bigrams, WINNOW, Correlation, KNN/Hyperspace, or Bit Entropy (or by > other > means--it's all programmable).") > (license license:gpl3))) > + > +(define-public rss2email > + (package > + (name "rss2email") > + (version "3.13.1") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/rss2email/rss2email") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + > "0g1yr3v3ibdh2jqil64fbdbplx5m2yzxr893fqfkwcc5c7fbwl4d")))) > + (build-system python-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (replace 'check > + (lambda* (#:key tests? inputs outputs #:allow-other-keys) Inputs and outputs are not being used in the body. > + (when tests? > + (with-directory-excursion "test" > + ;; Skip networking tests > + (substitute* "test.py" > + (("( *)class (:?TestSend|TestFetch).*" match > indent) > + (string-append indent > "@unittest.skip(\"Networking stuff skipped\")\n" > + indent match))) > + (invoke "python" "-m" "unittest")))))))) > + (propagated-inputs > + `(("python-feedparser" ,python-feedparser) > + ("python-html2text" ,python-html2text))) Is this package used only as executable? Inputs can probably be normal inputs here. > + (home-page "https://github.com/rss2email/rss2email") > + (synopsis "Converts RSS/Atom newsfeeds to email") > + (description "When run it fetches RSS/Atom newsfeeds, converts > them into an email, and > +emails them.") Full sentence. > + ;; GPL version 2 or 3. NOT 2+. Comments should also follow double spaces when starting a new sentence in the same line. > + (license (list license:gpl2 > + license:gpl3)))) ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-05 16:25 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20211103163727.20013-1-Morgan.J.Smith@outlook.com> 2021-11-03 16:37 ` [bug#51587] [PATCH 2/3] gnu: python-feedparser: Add input Morgan.J.Smith 2021-11-03 16:37 ` [bug#51587] [PATCH 3/3] gnu: Add rss2email Morgan.J.Smith 2021-11-05 15:55 ` Vinicius Monego
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.