From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eA05AEY3jWF74AAAgWs5BA (envelope-from ) for ; Thu, 11 Nov 2021 16:31:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uE2fN0U3jWGgOQAA1q6Kng (envelope-from ) for ; Thu, 11 Nov 2021 15:31:17 +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 85AD036FF8 for ; Thu, 11 Nov 2021 16:31:17 +0100 (CET) Received: from localhost ([::1]:51942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlC2m-0001fw-1p for larch@yhetil.org; Thu, 11 Nov 2021 10:31:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlC2Z-0001N9-TJ for guix-patches@gnu.org; Thu, 11 Nov 2021 10:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlC2Z-0003dz-KL for guix-patches@gnu.org; Thu, 11 Nov 2021 10:31:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlC2Z-0007av-Gp for guix-patches@gnu.org; Thu, 11 Nov 2021 10:31:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51587] [PATCH v2 3/3] gnu: Add rss2email. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Nov 2021 15:31:03 +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: monego@posteo.net, 51587@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 51587-submit@debbugs.gnu.org id=B51587.163664464629141 (code B ref 51587); Thu, 11 Nov 2021 15:31:03 +0000 Received: (at 51587) by debbugs.gnu.org; 11 Nov 2021 15:30:46 +0000 Received: from localhost ([127.0.0.1]:42018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlC2I-0007Zs-B0 for submit@debbugs.gnu.org; Thu, 11 Nov 2021 10:30:46 -0500 Received: from mail-bn7nam10olkn2071.outbound.protection.outlook.com ([40.92.40.71]:3104 helo=NAM10-BN7-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlC2E-0007Yz-V4 for 51587@debbugs.gnu.org; Thu, 11 Nov 2021 10:30:43 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fzULD9LR1ysSNYQqzVyry5r1dNRfTTkAVXBMU+oB6UquwdvaeXfBW2SBt6raOiO5rV0mPfDQAn3jxeTk8DE3TriQqMcN8BJLk5jBqWOy37HvuT4Hrg1BW4mv1bWEDzalxr4VMmUwMIPjxNgEi8jm7MCbekQdO16kk6GH3psATZK2rEyG5MM/V9/SEPm8j6GY3jJYxCETVLjqcp7L82hFqa/t6ze+6nQw68fcCUu/RB3pqyYCaDijZWEBtmbSCT0u+AmociqbT1eVZsZYs0vGEVrzS17rdmEpKVbN1KdTD4j7hSaBIO0WKOJB7ed0GzhybqHEeLM8KV9EIvyq4AXaMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PrjOTmu/OIaf5KR+z5eCY0gIUUGIHA5sulSaC3efArU=; b=FKWEvXNzbDkAJZjl3QlSv9raHASAlgQxLkkP+jk+fp7RLevlgBOK8AgAWVUKJ6AfxDA6icbdF/QoDYxevK9jbsv5PxofnXnZN9dEGHS5HF2i6XczVQpvVL5XbEox2aYsECuYZhcFtHypNFMhbXBB28DjJ41zpYm7yHjsjZi0woQTZR/2A4DuvLnfHCK5O4sWLi2G6qJivMJw/b07LoDDMPwGu1DtvUBwFsPvUe+/kDTm4a9Uo0QXAnHu5mCJ81WkdEQr9lgvNPks8lk42mg2FrTmFeKpBABmjUwXTJapLfr2B2N0Cv7u/F0XhtuJe0CTWcQhUfHF8Ogr4uukbOcwwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PrjOTmu/OIaf5KR+z5eCY0gIUUGIHA5sulSaC3efArU=; b=jFgHYtIuW6BdZaOiUMZ370PYC68RUHupQlgFtU4Ftsag/vctKyXlfjP4J3CP3DN+j5/+xRlp3pLfcR7oNZflYDYaoR1YDPY/cMMOQF4q/E+qJ5nPaSRSc0FZNstk2jE2Y+lhf1Qjaz1heO5kpUDFXs6da3u1ODK+2jKFrY+2SswrgbAaggGiYQVJvAoyfAn8bEUkhkXhrm1NddCZVAShNq08CUa/AlK7TGFT0CW9rYiJiXmgInaLO5QenmAYIfqdlRjaSEMX3QEPOzjyxLe8rNU/bKmVYJKJoGBSfS26Qc5QK/E40c46zIxxysbI1vqarIH2P+WYNzSAEIW5umxnEg== Received: from BYAPR05MB4023.namprd05.prod.outlook.com (2603:10b6:a02:87::30) by SJ0PR05MB8247.namprd05.prod.outlook.com (2603:10b6:a03:390::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.8; Thu, 11 Nov 2021 15:30:41 +0000 Received: from BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::745d:ce8d:67ec:5154]) by BYAPR05MB4023.namprd05.prod.outlook.com ([fe80::745d:ce8d:67ec:5154%6]) with mapi id 15.20.4690.022; Thu, 11 Nov 2021 15:30:41 +0000 From: Morgan.J.Smith@outlook.com Date: Thu, 11 Nov 2021 10:30:05 -0500 Message-ID: X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211111153005.3326-1-Morgan.J.Smith@outlook.com> References: <20211111153005.3326-1-Morgan.J.Smith@outlook.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [RL3cVjmKHaHs6RjSn4nPykoJeBTU2A47] X-ClientProxiedBy: YQBPR0101CA0159.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:e::32) To BYAPR05MB4023.namprd05.prod.outlook.com (2603:10b6:a02:87::30) X-Microsoft-Original-Message-ID: <20211111153005.3326-4-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (170.52.80.188) by YQBPR0101CA0159.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.17 via Frontend Transport; Thu, 11 Nov 2021 15:30:41 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a59a574-e729-4adc-505d-08d9a5283858 X-MS-Exchange-SLBlob-MailProps: Zv/SX2iM+5Vlb2j0UoconwW4e5wa60qwYlOR2uER4MsAG6cjA8oSjDwQQ/dub+oFKCmjJM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swYt4TVvXA5XvdTAAxQ+Rwu12aUXI00ka0beWHVqPVRogox9rDrojy/92QIOWyLQOTXFrOwu2ERIIR4z0hjFj9gYaVq8JQ8BTFXr/PY0vhTgGM0fOnNuMNqt05sFe3u6ZxX+3kP8nPzB76YJheMsdmSr8n822zjtJYGtGH1zVFs4/5htpcR7oqiuXnXvE0XMtZ0Q1jl1LX1xJXNhtLRZVpe0QYzmsIs6e0DOXKshbdq/biFA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Yy33GVVqeLPFhzjUG/xGIhjUvjNztuilr4wEcQb1dtTh3ROUa3bTvlxRc2im8J5fxQevuDRYzvcx+ol1zbt8jXDew83deqqd4GTzjxhlaKFy6W8AnXAzg9Yd//prrTNNVIsnIdYq5xxHrNxVxMoBy19lKpqnA0lOSIL0Bgu+VG7F1sC6METzXaJjZkMxYv0bPUw7tKOzT7Um54wJEdHsErQ+FnMEQbLHIp6UHeWzwnbU6wOAhciA8psGc9h6BLZvyw6Al7nhLabxxLjB5UU0mlmt5OuOvkyOzbFK3BvkYFOkaQpovBIcwqnik8qSor+RVGL7Fc2NQQExj09fC1x0CQa+PvIYo7403p4td49kSVeR27TNUi0asBjPvqb27WJpwJ0kyB/XrG1xnEY1YQczXCO5gaozz5CXUZ08tP5PbXGxuhvf4ZlXj4UHvmbvh7XJWA68zlWstxIKlNldSSeiXGEDvJ2BtbbevcNBVYurkaQv7awRGEDlRjrhelEkGvXhIoyFSjWhvXb52LrOEQFfTW3ig+5c9fyNzSIhY7cKdk/1veRvz8oxPnGXDg5E5wkGwhFIi/PyKo6ZT+aeAJER5yTzlD+/kFF842UMd+rMasojcA4eYGmMJWX5fohAJBiePatMSqje03Y/fq4+j3x1AR5HVGpR7NTQPkL9ALXUQwYJPDGuSrmSE01aQtuNb6CDueaBZCzmjw+qzqlyr4eZ6Q== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a59a574-e729-4adc-505d-08d9a5283858 X-MS-Exchange-CrossTenant-AuthSource: BYAPR05MB4023.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2021 15:30:41.3821 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR05MB8247 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636644677; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=PrjOTmu/OIaf5KR+z5eCY0gIUUGIHA5sulSaC3efArU=; b=SYZzcMnLQB+8MSYeqZ247OW6uzqY4k2imWpHys0yyn4ilC033dFXCLq6kV//dk0mTfGBn1 JVSC2LyBSEJ5fdOmYxbvMO1JpcVQU+DB8WnP+LIt0brEqssIpYHEplEuw/Gi/NK/CLmueX wUb6mwtxVb8ueqQl78HT43gIe8XceP61AMFAkxNV4s7JL1LqJHU13RE4w8FEInH4wSREWF Y1pRHNA0BrKEZ81PjIacwC6WSTQN3x1c2Ig5Pb4bFrhjtGUcnYQ0iTmUuwwNrn22Oezssu 4z22X4cmOqdY4BwTTi4TmiuB4gMeQjboJoDImB4TbArOM/WBdTjtRpgCX1KFmg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1636644677; a=rsa-sha256; cv=fail; b=X7NwAnSyDbgx9eQMtNiWKZT70fuylIIG4+o5TdwiOk0juCt2e6kFC4H5TyxRs7D2CRNvl2 jPzDSjlKfVqPXxJrXeJrQSX3QWwzs/RbPorrQxqxn+yyb66QxaeDXI2JccJcS8qYfpgT4o c6gAmboFwfqpZnLcdPF33KO9BIyiAJjqKQJyKQtcfkIH5LeStwe4CRrs8u9QnXMILhZoCc YnLVMwXt6qIRSqz6iU97ab7uuHYpbW8LXo3Xtv7Tgc7/bOp4ru1ma85XrW/Gd5JKNpTb07 nwr+rY6df0DNg9afRMWBapdBg0jGyImwqkwJbqQKquU6lQ9W0pkMXuR64thAiQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=jFgHYtIu; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (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: 0.27 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=jFgHYtIu; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (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: 85AD036FF8 X-Spam-Score: 0.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6HkHTaJwCrZg From: Morgan Smith * gnu/packages/mail.scm (rss2email): New variable. --- gnu/packages/mail.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 31cf4ec6b0..1d9f361b80 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2020 divoplade ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Benoit Joly +;;; Copyright © 2021 Morgan Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -4612,3 +4613,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? #:allow-other-keys) + (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")))))))) + (inputs + `(("python-feedparser" ,python-feedparser) + ("python-html2text" ,python-html2text))) + (home-page "https://github.com/rss2email/rss2email") + (synopsis "Converts RSS/Atom newsfeeds to email") + (description "Fetches RSS/Atom newsfeeds, converts them into emails, and +emails them.") + ;; GPL version 2 or 3. NOT 2+. + (license (list license:gpl2 + license:gpl3)))) -- 2.33.1