GNU bug report logs - #46823
[PATCH 1/3] gnu: Add python-readability.

Previous Next

Package: guix-patches;

Reported by: Léo Le Bouter <lle-bout <at> zaclys.net>

Date: Sat, 27 Feb 2021 22:36:02 UTC

Severity: normal

Tags: patch

Done: Léo Le Bouter <lle-bout <at> zaclys.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Léo Le Bouter <lle-bout <at> zaclys.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46823: closed ([PATCH 1/3] gnu: Add python-readability.)
Date: Fri, 05 Mar 2021 23:20:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 06 Mar 2021 00:19:46 +0100
with message-id <37b77e5fee4340e717ef8a1105e2dd6d6ac2aa26.camel <at> zaclys.net>
and subject line Re: [bug#46823] [PATCH 1/3] gnu: Add python-readability.
has caused the debbugs.gnu.org bug report #46823,
regarding [PATCH 1/3] gnu: Add python-readability.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46823: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46823
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: guix-patches <at> gnu.org
Cc: Léo Le Bouter <lle-bout <at> zaclys.net>
Subject: [PATCH 1/3] gnu: Add python-readability.
Date: Sat, 27 Feb 2021 23:34:38 +0100
* 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



[Message part 3 (message/rfc822, inline)]
From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>, Léo Le
 Bouter via Guix-patches via <guix-patches <at> gnu.org>
Cc: 46823-done <at> debbugs.gnu.org
Subject: Re: [bug#46823] [PATCH 1/3] gnu: Add python-readability.
Date: Sat, 06 Mar 2021 00:19:46 +0100
[Message part 4 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.