Subject: bug#46823: closed (Re: [bug#46823] [PATCH 1/3] gnu: Add python-readability.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 05 Mar 2021 23:20:02 +0000

Your bug report

#46823: [PATCH 1/3] gnu: Add python-readability.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46823: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46823
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#46823] [PATCH 1/3] gnu: Add python-readability.
From: Léo Le Bouter <[email-masked]>
To: Nicolas Goaziou <[email-masked]>, Léo Le Bouter via Guix-patches via <[email-masked]>
Cc: [email-masked]
Date: Sat, 06 Mar 2021 00:19:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, 2021-03-05 at 17:32 +0100, Nicolas Goaziou wrote:

Thanks for the review!

> Note that (native-)inputs should be sorted alphabetically, and
> descriptions ought to be full sentences.

I did the descriptions but did not sort all *inputs because it is quite
troublesome to do so editing commit history etc.. I don't like doing it
manually and don't have any tooling, also don't think it is very
worthwhile use of my time, nor do I think it adds much value to GNU
Guix. If you have any tooling to suggest to do it easily in Emacs then
I'll happily do that in every of my contributions by default.

I also moved gfeeds to gnu/packages/syndication.scm as that's where it
sits better I think, it not being an official GNOME project.

Pushed all in 373e5fc96724fd38bb1263e4af90932ea36f596b.

Léo

Subject: [PATCH 1/3] gnu: Add python-readability.
From: Léo Le Bouter <[email-masked]>
To: [email-masked]
Cc: Léo Le Bouter <[email-masked]>
Date: Sat, 27 Feb 2021 23:34:38 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-xyz.scm (python-readability): 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 c10a55e8b6..1ff51d1b2c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23985,3 +23985,26 @@ and frame grabber interface.")
     (description
       "A screencast tool to display your keys inspired by Screenflick.")
     (license license:gpl3+)))
+
+(define-public python-readability
+  (package
+    (name "python-readability")
+    (version "0.3.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "readability" version))
+        (sha256
+          (base32
+            "1b8gq3g2zwvx0aivvdg56cc0bn7xw6f2v6psmxdx9aiipkw0s0zr"))))
+    (build-system python-build-system)
+    (home-page
+      "https://github.com/andreasvc/readability/")
+    (synopsis
+      "Measure the readability of a given text using surface
+characteristics")
+    (description
+      "An implementation of traditional readability measures based on simple
+surface characteristics.  These measures are basically linear regressions
+based on the number of words, syllables, and sentences.")
+    (license license:asl2.0)))
-- 
2.30.1