unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41199] [PATCH] rawdog RSS reader
@ 2020-05-11 23:58 raingloom
  2020-05-16  9:41 ` bug#41199: " 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: raingloom @ 2020-05-11 23:58 UTC (permalink / raw)
  To: 41199

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

It was rather trivial to package. Just a single dependency.

There is, however, a recommended dependency (PyTidy) that I did not add,
since it doesn't seem to be included in the Nix package either and
doesn't seem to be packaged in Guix. It just tidies up the HTML output,
so it's not all that important.

[-- Attachment #2: 0001-gnu-Add-rawdog.patch --]
[-- Type: text/x-patch, Size: 1807 bytes --]

From baa6940b9035e196eb0b870dc08fdd50212a8708 Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@protonmail.com>
Date: Tue, 12 May 2020 01:50:30 +0200
Subject: [PATCH] gnu: Add rawdog.

* gnu/packages/syndication.scm (rawdog): New variable.
---
 gnu/packages/syndication.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 5bc3d19a92..a9e69cd8d6 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
   #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages python-web)
@@ -169,3 +170,26 @@ file system, and many more features.")
      "Tuir provides a simple terminal viewer for Reddit (Terminal UI for Reddit).")
     (license (list license:expat
                    license:gpl3+))))    ; tuir/packages/praw
+
+(define-public rawdog
+  (package
+    (name "rawdog")
+    (version "2.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://offog.org/files/rawdog-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "18nyg19mwxyqdnykplkqmzb4n27vvrhvp639zai8f81gg9vdbsjp"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2.7))
+    (inputs
+     `(("python2-feedparser" ,python2-feedparser)))
+    (home-page "https://offog.org/code/rawdog/")
+    (synopsis "RSS Aggregator Without Delusions Of Grandeur")
+    (description
+     "An RSS aggregator that produces static HTML pages from feeds")
+    (license license:gpl2)))
-- 
2.26.2


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

* bug#41199: [PATCH] rawdog RSS reader
  2020-05-11 23:58 [bug#41199] [PATCH] rawdog RSS reader raingloom
@ 2020-05-16  9:41 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2020-05-16  9:41 UTC (permalink / raw)
  To: raingloom; +Cc: 41199-done

raingloom <raingloom@riseup.net> writes:

> It was rather trivial to package. Just a single dependency.

Hello, thank you for this package, pushed!

>
> There is, however, a recommended dependency (PyTidy) that I did not add,
> since it doesn't seem to be included in the Nix package either and
> doesn't seem to be packaged in Guix. It just tidies up the HTML output,
> so it's not all that important.

I have also package 'python2-pytidylib' and add it as a input for this
rawdog.
>
>>From baa6940b9035e196eb0b870dc08fdd50212a8708 Mon Sep 17 00:00:00 2001
> From: raingloom <raingloom@protonmail.com>
> Date: Tue, 12 May 2020 01:50:30 +0200
> Subject: [PATCH] gnu: Add rawdog.
>
> * gnu/packages/syndication.scm (rawdog): New variable.
> ---
>  gnu/packages/syndication.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
> index 5bc3d19a92..a9e69cd8d6 100644
> --- a/gnu/packages/syndication.scm
> +++ b/gnu/packages/syndication.scm
> @@ -30,6 +30,7 @@
>    #:use-module (gnu packages gettext)
>    #:use-module (gnu packages ncurses)
>    #:use-module (gnu packages pkg-config)
> +  #:use-module (gnu packages python)
>    #:use-module (gnu packages python-check)
>    #:use-module (gnu packages python-xyz)
>    #:use-module (gnu packages python-web)
> @@ -169,3 +170,26 @@ file system, and many more features.")
>       "Tuir provides a simple terminal viewer for Reddit (Terminal UI for Reddit).")
>      (license (list license:expat
>                     license:gpl3+))))    ; tuir/packages/praw
> +
> +(define-public rawdog
> +  (package
> +    (name "rawdog")
> +    (version "2.23")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://offog.org/files/rawdog-"
> +                           version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "18nyg19mwxyqdnykplkqmzb4n27vvrhvp639zai8f81gg9vdbsjp"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:python ,python-2.7))
> +    (inputs
> +     `(("python2-feedparser" ,python2-feedparser)))
> +    (home-page "https://offog.org/code/rawdog/")
> +    (synopsis "RSS Aggregator Without Delusions Of Grandeur")
> +    (description
> +     "An RSS aggregator that produces static HTML pages from feeds")
It should end with '.', well I change the description to the first 2
lines of README.

> +    (license license:gpl2)))
And this to 'license:gpl2+'.

Thank you!




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

end of thread, other threads:[~2020-05-16  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 23:58 [bug#41199] [PATCH] rawdog RSS reader raingloom
2020-05-16  9:41 ` bug#41199: " 宋文武

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