From patchwork Sat Jun 25 04:25:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 40314 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 3315A27BBEA; Sat, 25 Jun 2022 05:26:34 +0100 (BST) 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=unavailable 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 9400F27BBE9 for ; Sat, 25 Jun 2022 05:26:30 +0100 (BST) Received: from localhost ([::1]:41942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4xNN-0001tU-NR for patchwork@mira.cbaines.net; Sat, 25 Jun 2022 00:26:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4xMw-0001tB-Go for guix-patches@gnu.org; Sat, 25 Jun 2022 00:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4xMw-0006GB-26 for guix-patches@gnu.org; Sat, 25 Jun 2022 00:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4xMv-0007SJ-Va for guix-patches@gnu.org; Sat, 25 Jun 2022 00:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56208] [PATCH] gnu: Add python-sendgrid. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jun 2022 04:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56208@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165613111828605 (code B ref -1); Sat, 25 Jun 2022 04:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jun 2022 04:25:18 +0000 Received: from localhost ([127.0.0.1]:43920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4xMD-0007RJ-M5 for submit@debbugs.gnu.org; Sat, 25 Jun 2022 00:25:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:49430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4xMA-0007RB-Vb for submit@debbugs.gnu.org; Sat, 25 Jun 2022 00:25:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4xMA-0001qM-Py for guix-patches@gnu.org; Sat, 25 Jun 2022 00:25:14 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]:57598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o4xM8-00060U-Vj for guix-patches@gnu.org; Sat, 25 Jun 2022 00:25:14 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4LVLW84d4vz9sSx for ; Sat, 25 Jun 2022 06:25:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1656131108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=QHveXXn1cIP+5CwAwAMO7TASrggh5gQRxuk5bT0PxSA=; b=FT6wjxXgBR2VrzFj7XgdITinmhMyLVetYt+xWlaUeiX+SICgZfpF2O/3F+yBYLvgZB7E4J bIP16el66xi/BQhm2jwyrZ5SXgCj44e9HMHVOqJIMSWV0M2xccT9nPJUt9XmhLb6O0vR3I yv99M0+8X+bRUFlSkcR3vjisqOS0zbVCLW89oEqieQgfxLILhuZJ+o4MF//QlrSARFWdzT I89D1McX7mpalU7KuZmNIP2xBHeR+YvirMvW90+1mnhb0ybSU9TF9zXneusK9Acz81Y3+I HGvd0qusfDkHSLqLGSAie1qlQRxDY3hmsM3+jgpnM1hcZypcDzK/HT1Wqo8RLQ== Date: Sat, 25 Jun 2022 04:25:03 +0000 Message-Id: <20220625042503.7243-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: c239c02b809265f8fa5 X-MBO-RS-META: xrfr9hn5rr8ydnub77p4zqb3dt94c4xx Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=antero@mailbox.org; helo=mout-p-103.mailbox.org 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, T_SCC_BODY_TEXT_LINE=-0.01 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: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr X-getmail-retrieved-from-mailbox: Patches Depends on patch #56196 (python-http-client) and #56207 (python-starkbank-ecdsa). https://issues.guix.gnu.org/56196 https://issues.guix.gnu.org/56207 * gnu/packages/python-web.scm (python-sendgrid): New variable. --- gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6c121907e6..1afa0ef487 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7546,3 +7546,27 @@ (define-public python-zeep @end itemize") (license license:expat))) +(define-public python-sendgrid + (package + (name "python-sendgrid") + (version "6.9.7") + (home-page "https://github.com/sendgrid/sendgrid-python/") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg")))) + (build-system python-build-system) + (arguments + (list #:tests? #f)) ;241/340 tests fail due to attempted web access + (propagated-inputs (list python-http-client python-starkbank-ecdsa)) + (synopsis "SendGrid API library for Python") + (description + "The @code{sendgrid} Python library allows access to the +SendGrid Web API v3. Version 3+ of the library provides full support for all +SendGrid Web API v3 endpoints, including the new v3 /mail/send.") + (license license:expat)))