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

From: Léo Le Bouter <[email-masked]>
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