From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aPeNLwhbhWGsiAAAgWs5BA (envelope-from ) for ; Fri, 05 Nov 2021 17:25:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +L2hKghbhWGmCAAAB5/wlQ (envelope-from ) for ; Fri, 05 Nov 2021 16:25:44 +0000 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 82030BCCF for ; Fri, 5 Nov 2021 17:25:44 +0100 (CET) Received: from localhost ([::1]:53112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mj22B-00085b-I5 for larch@yhetil.org; Fri, 05 Nov 2021 12:25:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mj1aQ-0005g4-Gx for guix-patches@gnu.org; Fri, 05 Nov 2021 11:57:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mj1aQ-0006vL-87 for guix-patches@gnu.org; Fri, 05 Nov 2021 11:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mj1aQ-000419-4m for guix-patches@gnu.org; Fri, 05 Nov 2021 11:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51587] [PATCH 3/3] gnu: Add rss2email. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Nov 2021 15:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Morgan.J.Smith@outlook.com, 51587@debbugs.gnu.org Received: via spool by 51587-submit@debbugs.gnu.org id=B51587.163612780115417 (code B ref 51587); Fri, 05 Nov 2021 15:57:02 +0000 Received: (at 51587) by debbugs.gnu.org; 5 Nov 2021 15:56:41 +0000 Received: from localhost ([127.0.0.1]:46874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj1a5-00040b-3g for submit@debbugs.gnu.org; Fri, 05 Nov 2021 11:56:41 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj1a2-00040L-CS for 51587@debbugs.gnu.org; Fri, 05 Nov 2021 11:56:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C7AEF240105 for <51587@debbugs.gnu.org>; Fri, 5 Nov 2021 16:56:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636127791; bh=Q/5FFKOSkKPJjqfDumU0+i7ctwf0IofgsRI347yO36I=; h=Subject:From:To:Date:From; b=PeyBVaNe5BQMOJfJCX4WtWLPPZnU/1i9DQYK1Z++QdNx8yZIeRSYKh79T9QdZTnFj 8VzAC6VPJ01JLfzUq42PZIYPDM/BLutA5OIuWEXsPkGO3iJ3H6P/zdIG8vcmlm873o RoIqmg+5lQEjHIxNiEpBdQSTnJdqXEZwjXLLYSh49MoD2u0hiOIbk36yGjfPW72OTw vb9iGDpI75wJ9wfvO64WblXEU+Vy8n+Z4pjnlgnUNo7KXbuS3XuGSNpE1zkqF+9CAE p84UQOQJ+qQGchG+NAmW0ft+JH5S1dFGVcV8QzrMWHlrmFXyFZ0kgD0PkfPhj7PZT6 CeWcNOEiQrMGw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hm4qx61nwz9rxL; Fri, 5 Nov 2021 16:56:29 +0100 (CET) Message-ID: From: Vinicius Monego Date: Fri, 05 Nov 2021 15:55:43 +0000 In-Reply-To: References: <20211103163727.20013-1-Morgan.J.Smith@outlook.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636129544; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=zEZfRT6j9gnTYSV9gQtiU0EUyUdO+zv9r5NfdLE/4zs=; b=btiqilPwV3WNgeP11KAtmpQ5HkC9KvjL4vqdQ5DNDD/nOxsRyktdB7oiVy0B52f0LrV0DV Pa+ho6CQm1MINsho6rYIBWnyABZCXPGOPRU6vwrfglY/PGQWCWMomGc5rf9Nr8434iwSed 3rHRBFJN1WHWK3+2Ejms2OIj8hGWMOWt+6zQnGrC3gBt5kfnkY+lQeyRhHdx0P6JhxYPqS 1qS8+2gN6EqJ3UPyI+csIXzNOCXUv6vmU1lc0kMG4g6mLhHrhqPl73+i7ZQNTvooLdu3Bz n2664L5hgt31wgRhL0Y3bUuBXD7WjDdBHIeWxXtwbkPpN3pg6ilcKz60tjL6Ng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636129544; a=rsa-sha256; cv=none; b=Nea5AdhIL1E65Vjrs7ZeN2a/2JR2At+Ioz+sHpaqRzM+MQUzRcXQEnLareP9LyVCpYyiHR qQ8KCoLVzWUn+suMPklZKx+uG3vwG77VsyMVEDcQWZMMPkuI/nbP5iA9qiJbd0v5YH3f51 5Ls2EZt9GgesX92oigIYAgBoWX2Zg1UucsiuSBiCwAZhhEbN/WiFclc+79n48WCONvVG1M RJMQ9Dz9PTWxsL3ZZ93K46cuZBhZ3bMrdFs9EXIIy3IJd2wmO/MRmNOUdVDf+icRzmXBvn yBL6odaDwerKNKSQOVL8MOmunGYh4ynU6yHWohn+TKaxlqXeeDrWvTS3Tg/ZJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PeyBVaNe; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PeyBVaNe; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 82030BCCF X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: nKW8g453kX9D Em qua, 2021-11-03 às 12:37 -0400, Morgan.J.Smith@outlook.com escreveu: > From: Morgan Smith > > * gnu/packages/mail.scm (rss2email): New variable. > --- >  gnu/packages/mail.scm | 38 ++++++++++++++++++++++++++++++++++++++ Please add your copyright line in this file. >  1 file changed, 38 insertions(+) > > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index c5d8cf04ff..04d27d0337 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -4614,3 +4614,41 @@ (define-public crm114 >  Bigrams, WINNOW, Correlation, KNN/Hyperspace, or Bit Entropy (or by > other >  means--it's all programmable).") >      (license license:gpl3))) > + > +(define-public rss2email > +  (package > +    (name "rss2email") > +    (version "3.13.1") > +    (source (origin > +              (method git-fetch) > +              (uri (git-reference > +                    (url "https://github.com/rss2email/rss2email") > +                    (commit (string-append "v" version)))) > +              (file-name (git-file-name name version)) > +              (sha256 > +               (base32 > +                > "0g1yr3v3ibdh2jqil64fbdbplx5m2yzxr893fqfkwcc5c7fbwl4d")))) > +    (build-system python-build-system) > +    (arguments > +     `(#:phases > +       (modify-phases %standard-phases > +         (replace 'check > +           (lambda* (#:key tests? inputs outputs #:allow-other-keys) Inputs and outputs are not being used in the body. > +             (when tests? > +               (with-directory-excursion "test" > +                 ;; Skip networking tests > +                 (substitute* "test.py" > +                   (("( *)class (:?TestSend|TestFetch).*" match > indent) > +                    (string-append indent > "@unittest.skip(\"Networking stuff skipped\")\n" > +                                   indent match))) > +                 (invoke "python" "-m" "unittest")))))))) > +    (propagated-inputs > +     `(("python-feedparser" ,python-feedparser) > +       ("python-html2text" ,python-html2text))) Is this package used only as executable? Inputs can probably be normal inputs here. > +    (home-page "https://github.com/rss2email/rss2email") > +    (synopsis "Converts RSS/Atom newsfeeds to email") > +    (description "When run it fetches RSS/Atom newsfeeds, converts > them into an email, and > +emails them.") Full sentence. > +    ;; GPL version 2 or 3. NOT 2+. Comments should also follow double spaces when starting a new sentence in the same line. > +    (license (list license:gpl2 > +                   license:gpl3))))