[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: Add python-readability.
From: |
guix-commits |
Subject: |
01/03: gnu: Add python-readability. |
Date: |
Fri, 5 Mar 2021 18:15:27 -0500 (EST) |
lle_bout pushed a commit to branch master
in repository guix.
commit db5a70c81dba2545d6114d5c41bfc7192ac27cd5
Author: Léo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Sat Mar 6 00:00:24 2021 +0100
gnu: Add python-readability.
* gnu/packages/python-xyz.scm (python-readability): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fbc9ad6..4e8a28e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24016,3 +24016,27 @@ and frame grabber interface.")
"This package provides a command-line interface (CLI) to the Jinja2
template engine.")
(license license:bsd-3)))
+
+(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
+ "This package provides a Python library that is 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)))