From patchwork Sat Feb 27 22:34:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?L=C3=A9o_Le_Bouter?= X-Patchwork-Id: 27327 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BE6AC27BC4D; Sat, 27 Feb 2021 22:36:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8AC2E27BC4C for ; Sat, 27 Feb 2021 22:36:10 +0000 (GMT) Received: from localhost ([::1]:60200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG8C1-0000mv-Mz for patchwork@mira.cbaines.net; Sat, 27 Feb 2021 17:36:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG8Bv-0000mb-0q for guix-patches@gnu.org; Sat, 27 Feb 2021 17:36:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lG8Bu-0006iv-PR for guix-patches@gnu.org; Sat, 27 Feb 2021 17:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lG8Bu-0001FQ-MS for guix-patches@gnu.org; Sat, 27 Feb 2021 17:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46823] [PATCH 1/3] gnu: Add python-readability. Resent-From: =?utf-8?q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Feb 2021 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46823 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46823@debbugs.gnu.org Cc: =?utf-8?q?L=C3=A9o?= Le Bouter X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16144653104734 (code B ref -1); Sat, 27 Feb 2021 22:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Feb 2021 22:35:10 +0000 Received: from localhost ([127.0.0.1]:45519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG8B4-0001EI-4x for submit@debbugs.gnu.org; Sat, 27 Feb 2021 17:35:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:33568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG8B3-0001E9-0N for submit@debbugs.gnu.org; Sat, 27 Feb 2021 17:35:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG8B2-0000bE-PM for guix-patches@gnu.org; Sat, 27 Feb 2021 17:35:08 -0500 Received: from mail.zaclys.net ([178.33.93.72]:42177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG8B0-0006E4-8H for guix-patches@gnu.org; Sat, 27 Feb 2021 17:35:08 -0500 Received: from localhost.localdomain (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 11RMYlVu017497 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 27 Feb 2021 23:35:02 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 11RMYlVu017497 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1614465302; bh=G4u3t4XOGM90QNBCPIeNHc3L8wJ3GgY5ebc25mLup2w=; h=From:To:Cc:Subject:Date:From; b=anBcDsIusLzpQ3Oxy6FEZcTule3INHywPVbwwFHM5QNdXyOnYJO4mETMhtL0+r6xj XO37KL4vXMjk+JF6wINAUw+Nt3C5KUuSjdPlzs1gL9mnd16KDi0VqzZ2qwWax680W7 Z/fjZ9EWOFZyHgoDkjiFrkqNLDoyx4xvyWyGkCoI= Date: Sat, 27 Feb 2021 23:34:38 +0100 Message-Id: <20210227223440.18685-1-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: =?utf-8?q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?utf-8?q?L=C3=A9o?= Le Bouter via Guix-patches X-Patchwork-Original-From: =?utf-8?q?L=C3=A9o?= Le Bouter via Guix-patches via From: =?utf-8?q?L=C3=A9o_Le_Bouter?= X-getmail-retrieved-from-mailbox: Patches * 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)))