From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KAo2EHOOtmKAuQAAbAwnHQ (envelope-from ) for ; Sat, 25 Jun 2022 06:26:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KMdbD3OOtmLebwAAG6o9tA (envelope-from ) for ; Sat, 25 Jun 2022 06:26:27 +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 1EC9C2F834 for ; Sat, 25 Jun 2022 06:26:26 +0200 (CEST) Received: from localhost ([::1]:41942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4xNI-0001tU-Pw for larch@yhetil.org; Sat, 25 Jun 2022 00:26:24 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via 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=1656131186; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QHveXXn1cIP+5CwAwAMO7TASrggh5gQRxuk5bT0PxSA=; b=LkPW3Su1OjMB2jBTbTY0xSvyjlWl/SzX8+8pVeSLVL3IEPvh0YnXSCDtVtnmP3RadCI3KA 2aLhNXnfsaaGJFkvrq2pCaewnBgYbYcLhYsrOqyrMHTM6jYrkYrGSyUZyWCoC+HScTA7HZ R4Jnix1qr6qRg6sd5e8rG96H4jdPLEvlUnS+4LWEzCeIYsj1uZQuvLuOlYy7BKm67uv4Mm yw1mLH4AEqmlQO1sIQlKmgYJP69nWSXOJSxTuQUxGkh/0co+94giPkBorSymmV1N61stKs 84LMvGpY5Onioc4GkIwTfgkJxOf2u0+jeQZrartLcJ6Ed5I7OSsIW/5yFpZGaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656131186; a=rsa-sha256; cv=none; b=GgUqHk6cxxy+yJjvtnVYEetgKp3saXbIOFbqQUyQX8PIngGJKVD94YTMvoreJ9lz6JS3qJ TqCVu/PGMQOd2R7pl3KWyLoygNsaJh+GEpJm0XPHl9ZCtYWweKXfeCHhF434F9Dd6QcL1B s58vk7ODDlw+mNekj/r/PDAooRWPHG1OCX6JbRsDJ9Baq9yPewOf3plorTXRuEVMLQCTUq 5o8gUXEmd0+9M03Bm2qMjMx51DFRi6L6rk9VqPvy9mPCPNR0hnZF67Imn/GBrRbXN/LnpT Ipv0mJk70Z997/nALDzvEcCY5U2xTtIdYXrDdZpS+ROlW6y6TqYnbFsXbU2Z4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=FT6wjxXg; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=FT6wjxXg; dmarc=pass (policy=none) header.from=gnu.org; 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: 1EC9C2F834 X-Spam-Score: -4.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: AC5Nzco2YDJL 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))) -- 2.36.1