From patchwork Thu Mar 28 16:15:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fabio Natali X-Patchwork-Id: 62341 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 B52C927BBEA; Thu, 28 Mar 2024 16:21:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9149827BBE2 for ; Thu, 28 Mar 2024 16:21:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpsV4-0006nu-Kr; Thu, 28 Mar 2024 12:21:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpsV3-0006n9-F4 for guix-patches@gnu.org; Thu, 28 Mar 2024 12:21:09 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpsV3-0007sT-6l; Thu, 28 Mar 2024 12:21:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpsUv-00061M-Ry; Thu, 28 Mar 2024 12:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70057] [PATCH] gnu: Add python-apprise. Resent-From: Fabio Natali Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 28 Mar 2024 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70057@debbugs.gnu.org Cc: Fabio Natali , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.171164283723089 (code B ref -1); Thu, 28 Mar 2024 16:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2024 16:20:37 +0000 Received: from localhost ([127.0.0.1]:40999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpsUX-00060L-GS for submit@debbugs.gnu.org; Thu, 28 Mar 2024 12:20:37 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpsUU-000606-CH for submit@debbugs.gnu.org; Thu, 28 Mar 2024 12:20:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpsUN-0006au-U3 for guix-patches@gnu.org; Thu, 28 Mar 2024 12:20:27 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpsUL-0007cl-HP for guix-patches@gnu.org; Thu, 28 Mar 2024 12:20:27 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 3CCE840007; Thu, 28 Mar 2024 16:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1711642820; h=from:from: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; bh=/cf35aICqqOVJOw7NFs//c8FcsmW4v6V9J1FbQgZtnI=; b=np69Q3PIszJGn1+SFosxGGjdqgQDRijK+xOPThEBRIntvzTjqG21+KMt2vEchLcafyG9cu W+S/WA6i80Gn9XGDEtKgW+XqhqJRZW2K4xlYZkHYDgXknnMIXENDTBiFrVEFjC2bXnDLpZ fLKDdZZpJxjr0CedftaKHYOo/3HA96rX/u6xvvEgWnsY0dQ+V0j5kJHh/8u9lRGGntcGmU L0FAW31FsdODUmUFBmd2xOoIR8tfVOW26CzM469N7pWskP33RLBbPhY41uM9C8JlLvnBhD XHtBRL81a4mbcSZk2UoM3Fpf/4NfZhitAN9ny/jvXc4s/XQ9HykE9YA4SfJaBA== Date: Thu, 28 Mar 2024 16:15:13 +0000 Message-ID: <1e2f0580212adc76b9fe6479c45414c094effc64.1711642451.git.me@fabionatali.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=217.70.183.194; envelope-from=me@fabionatali.com; helo=relay2-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: , Reply-to: Fabio Natali X-ACL-Warn: , Fabio Natali via Guix-patches X-Patchwork-Original-From: Fabio Natali via Guix-patches via From: Fabio Natali Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-apprise): New variable. Change-Id: I55b8c7b558ce34835cff31b9fac6ff3b81ff5fec --- Hi! 👋 This is to add Apprise, a push notification Python library. It seems that Apprise is required if we want to upgrade borgmatic from 1.7.12 to 1.8.9. I hope the patch looks alright but all feedback is welcome. Thanks, cheers, Fabio. gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) base-commit: fb9549164520ad993c2fbbaedc899844d57baabc diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8a6ef23b58..2cdcc5e51c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -231,6 +231,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages man) #:use-module (gnu packages markup) #:use-module (gnu packages maths) + #:use-module (gnu packages messaging) #:use-module (gnu packages monitoring) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) @@ -293,6 +294,51 @@ (define-module (gnu packages python-xyz) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public python-apprise + (package + (name "python-apprise") + (version "1.7.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "apprise" version)) + (sha256 + (base32 "0wvs1k71fipn617y9wsdcvwcgg2pd0nvriarlwl4438la4086ppg")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-certifi + python-click + python-dataclasses + python-markdown + python-pyyaml + python-requests + python-requests-oauthlib)) + (native-inputs (list python-babel + python-coverage + python-cryptography + python-flake8 + python-paho-mqtt + python-pytest + python-pytest-cov + python-pytest-mock + python-pytest-xdist + python-wheel)) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (delete-file "test/test_plugin_macosx.py") + (invoke "pytest"))))))) + (home-page "https://github.com/caronc/apprise") + (synopsis + "Push notification Python library that works with many platforms") + (description + "Apprise is a Python library that allows sending push notifications to a broad +range of notification services, such as Telegram, Discord, Slack, Amazon SNS, +Gotify, etc.") + (license license:bsd-2))) + (define-public python-xmldiff (package (name "python-xmldiff")