From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id m+jPNlZCJmPxRQEAbAwnHQ (envelope-from ) for ; Sat, 17 Sep 2022 23:55:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kB6tNVZCJmPV5AAA9RJhRA (envelope-from ) for ; Sat, 17 Sep 2022 23:55:34 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B512A23B3F for ; Sat, 17 Sep 2022 23:55:34 +0200 (CEST) Received: from localhost ([::1]:41600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZfmf-0000Ys-JW for larch@yhetil.org; Sat, 17 Sep 2022 17:55:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZfmE-0008Ri-0g for guix-patches@gnu.org; Sat, 17 Sep 2022 17:55:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZfmC-0001tY-JJ for guix-patches@gnu.org; Sat, 17 Sep 2022 17:55:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZfmC-0007mH-F9 for guix-patches@gnu.org; Sat, 17 Sep 2022 17:55:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57889] [PATCH 4/8] gnu: Add python-readability-lxml. References: <406e4fd3c75650e148b7ab0a86036b4cff1206c1.camel@gmail.com> In-Reply-To: <406e4fd3c75650e148b7ab0a86036b4cff1206c1.camel@gmail.com> Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Sep 2022 21:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57889@debbugs.gnu.org Received: via spool by 57889-submit@debbugs.gnu.org id=B57889.166345169729827 (code B ref 57889); Sat, 17 Sep 2022 21:55:04 +0000 Received: (at 57889) by debbugs.gnu.org; 17 Sep 2022 21:54:57 +0000 Received: from localhost ([127.0.0.1]:47309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZfm4-0007kw-KJ for submit@debbugs.gnu.org; Sat, 17 Sep 2022 17:54:56 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:46037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZflt-0007jW-IN for 57889@debbugs.gnu.org; Sat, 17 Sep 2022 17:54:47 -0400 Received: by mail-ej1-f66.google.com with SMTP id dv25so56592218ejb.12 for <57889@debbugs.gnu.org>; Sat, 17 Sep 2022 14:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:from:to:cc:subject:date; bh=8dtUBb0pTbnFs9hdGdPk8/6i78WIQ4EuNYLg8pOUi+I=; b=D+4ihe/AFnWUlLEDFwGEIlfwIZvpLcEsOosv1KIkxm5y3kX92OeNQDEI/groteMIQE VV1ipXMUe6zXHycB8SPJKOp5ayBL82dkYlENG8PmR2FzGK8i6yg7jlhJJpyw/UROuNE3 9YW1Q/5NxFixmQqtxgrRIgN9v5vJKFo/PgGlvI/Oqc9Ep4cnW07z2bU1EBz9ytdrs/ua IFtTmrfIRNG/K6eUL1YvGNESYtrFhpKA27MrIPr5oDRllHJu38ht2wvbtPWTTWaSmIuZ 6eolkl9KcTvcingvWKDbO5THoMr3uUdV73kyS/uaDRZvYLOXpNJwN+5NhzUb96xFM0Tj 3E5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:x-gm-message-state:from:to:cc:subject:date; bh=8dtUBb0pTbnFs9hdGdPk8/6i78WIQ4EuNYLg8pOUi+I=; b=oEqzSW1I2P6nhDHREZoYeD1IggfU9EykRCmZhlRCKgflnbCl3ThXqO6g8Gyac7c6kH 8tRmercaAvKESuLU+VCVzu8sxWEhMEc5/0rNqDUE337toIu/RPRPwWitNSVYrxd5PUea 4gbpAm4Nc0pVEVkYMFdA7hZ/5Bm6ofKGIw8kdBn7BFKjDoaU8OCbF3tJSzxy7/NMbd0F o8eChcjwQvrqlP52PWKh0TkRRLyZVrL0tVCeGU3p0b1BSNonQXz+eAfxnLilv7KaVH3n Qnna6R3p703IYb99KajzlcEjagLOLO16c4W6bPN1ZzB6xpIOp9CUv+DKlbYqTEWFrBO6 3QvQ== X-Gm-Message-State: ACrzQf0EwbNwtJh5pMNjlCrz36bEYHzBJFk8gf4CDVf7igbT2Di8KPKC 9D7WEy3DieqrkmKkkoGIuRmShtjYvuw= X-Google-Smtp-Source: AMsMyM6mMcE1wnekif7ppwcxi5Z1M6QSfMr00HCalNuswG9cH96aZuYckGZlBHQxoS95TO1eiVevLA== X-Received: by 2002:a17:907:3e8b:b0:77f:587:3b1b with SMTP id hs11-20020a1709073e8b00b0077f05873b1bmr7617685ejc.617.1663451679917; Sat, 17 Sep 2022 14:54:39 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id q25-20020a17090622d900b00780636a85fasm4485202eja.221.2022.09.17.14.54.39 for <57889@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Sep 2022 14:54:39 -0700 (PDT) From: Liliana Marie Prikler Date: Sat, 17 Sep 2022 21:50:48 +0200 Content-Transfer-Encoding: 7bit Message-ID: MIME-Version: 1.0 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663451734; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8dtUBb0pTbnFs9hdGdPk8/6i78WIQ4EuNYLg8pOUi+I=; b=B3K6b5rNQ231a6A5Xi+NlCt7THJaeRSaBnXZmhBMa/U2fvcy+7lRLfDJcTLkKui6YNv+C4 QGDpPlTeweFRHhtINoXR2uDwej7wDAQso1l8ox5k2+oGHTVOwwzFRhazF35KelQ0q6B2/o u0BDF8fySuayQp8apxFW7mpxouTMAxsRNnG06TGWThIMm51c6EkVMYni9w9/80nFJ8ecOx XIW59nqvV2q3LyCuk4mWGEY0Ct/2Zj106Z9kxOXqcaPzIczeCtSTwKEwEpAbSNM8UuO+24 GJmeLGp0Af+/71RA0gp7idL4M7uLcssBjljgsILLlBa+0Vgwvg4ciqK+aLiU6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663451734; a=rsa-sha256; cv=none; b=ri35saGtzYsmCAL9tnyKubfwn0uYKXFRqekRM7VEL3b3hRffFs5BGx7DLL8I4dd4/7OssN UqxVJtMMNDb8lPuhQ+sTdD+ZsDce6RXSdDtxj2kzEgX03cRJBbjWN38CwF4RJpoBCpOSDJ CAQvSYgnr0iL1xPNV5sdy9+xBX0K/4thQxnpQz9Ug8TEjUaJ0kvXZof3LrXptdmB/+mo3E XbKOTkZQK858qqVV8BQjKy03ygjcMKpX8RGnBqkM2Aqd/bQILW7fOtDtOLXhFUge01ei1Y PMPgGDyEa5m8JwkikOeH/BgK/0nS8JKeQz59dWANypZ7iuw/DYk1DQvahuxQKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="D+4ihe/A"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="D+4ihe/A"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B512A23B3F X-Spam-Score: 7.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: eikIDHj3fIBL * gnu/packages/python-xyz.scm (python-readability-lxml): New variable. --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 14d3b1a9c1..1246d75095 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27891,6 +27891,38 @@ (define-public python-readability number of words, syllables, and sentences.") (license license:asl2.0))) +(define-public python-readability-lxml + (package + (name "python-readability-lxml") + (version "0.8.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/buriy/python-readability") + (commit (string-append "v" version)))) + (sha256 + (base32 + "13nfy2v0pbbf62jn9qwgi489gg97hbb22q6w3f78mnvjxd2m19rh")) + (snippet + #~(begin (delete-file "readability/compat/two.py"))))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-v" "tests/"))))))) + (propagated-inputs (list python-chardet python-cssselect python-lxml)) + (native-inputs (list python-timeout-decorator python-pytest)) + (home-page "http://github.com/buriy/python-readability") + (synopsis "HTML to text parser") + (description + "This package provides classes and function that strip gratuitous markup +from web pages to make them easier to read.") + (license license:asl2.0))) + (define-public python-listparser (package (name "python-listparser") -- 2.37.3