From patchwork Fri Jul 1 21:43:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 40459 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 339B927BBEA; Fri, 1 Jul 2022 22:44:20 +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 CC67827BBE9 for ; Fri, 1 Jul 2022 22:44:19 +0100 (BST) Received: from localhost ([::1]:56596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7OR1-0001sI-1k for patchwork@mira.cbaines.net; Fri, 01 Jul 2022 17:44:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7OQl-0001rK-DG for guix-patches@gnu.org; Fri, 01 Jul 2022 17:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45358) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7OQl-0000cp-2o for guix-patches@gnu.org; Fri, 01 Jul 2022 17:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7OQk-0007wZ-Rs for guix-patches@gnu.org; Fri, 01 Jul 2022 17:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#52997] [PATCH] gnu: Add python-facebook-sdk. References: <20220104003003.861-1-goodoldpaul@autistici.org> In-Reply-To: <20220104003003.861-1-goodoldpaul@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Jul 2022 21:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52997 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52997@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 52997-submit@debbugs.gnu.org id=B52997.165671181730482 (code B ref 52997); Fri, 01 Jul 2022 21:44:02 +0000 Received: (at 52997) by debbugs.gnu.org; 1 Jul 2022 21:43:37 +0000 Received: from localhost ([127.0.0.1]:39254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7OQL-0007vZ-9f for submit@debbugs.gnu.org; Fri, 01 Jul 2022 17:43:37 -0400 Received: from confino.investici.org ([93.190.126.19]:60213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7OQJ-0007vS-Vi for 52997@debbugs.gnu.org; Fri, 01 Jul 2022 17:43:36 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4LZTGb3N5Rz10sk; Fri, 1 Jul 2022 21:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1656711815; bh=QwSbTNNmxY9QRUw9i1hPWCoMqCF4Poip1UM/xL8Kv18=; h=From:To:Cc:Subject:Date:From; b=VFpO+lbUZHM6hTVGVQ2/sAVCdFki7CmIOQlx+aZKHjp80Bvp0LQuP7bVg9zWmOAVu oSV8W3AlCxRsH2MTOCaTid7wXRgb94gD6OYgTDun5hej9gSYL1OOtWg3xygNgUP+jO mqQXGMhlNNGeX32p4jUUvYZ30k0ny/UgdT7TODio= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4LZTGb2MfNz10sj; Fri, 1 Jul 2022 21:43:35 +0000 (UTC) Date: Fri, 1 Jul 2022 23:43:25 +0200 Message-Id: <20220701214325.17848-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-facebook-sdk): New variable. --- gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) base-commit: aba1ee5553099d45eb22d9ca1f685502146a49d0 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6f951595c8..fc61951b3c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7183,6 +7183,35 @@ (define-public python-tweepy library for accessing the Twitter API.") (license license:expat))) +(define-public python-facebook-sdk + (package + (name "python-facebook-sdk") + (version "3.1.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/mobolic/facebook-sdk") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0p7p0wvcspd9p8d6r25bgjbf0ihdw5g1jw3dylwngrazdmc3g36b")))) + (build-system python-build-system) + (arguments + ;; Tests require network access. + `(#:tests? #f)) + (propagated-inputs `(("python-requests" ,python-requests))) + (home-page "https://facebook-sdk.readthedocs.io") + (synopsis + "Facebook Graph API client in Python") + (description + "This client library is designed to support the Facebook Graph API and +the official Facebook JavaScript SDK, which is the canonical way to implement +Facebook authentication.") + (license license:asl2.0))) + (define-public python-quart (package (name "python-quart")