From patchwork Tue Jan 4 00:30:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 35933 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 6A0A127BBEA; Tue, 4 Jan 2022 00:31:11 +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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 3216027BBE9 for ; Tue, 4 Jan 2022 00:31:11 +0000 (GMT) Received: from localhost ([::1]:46786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4XjK-0005Og-Cr for patchwork@mira.cbaines.net; Mon, 03 Jan 2022 19:31:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4XjC-0005OY-Ay for guix-patches@gnu.org; Mon, 03 Jan 2022 19:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4XjC-0006yJ-1k for guix-patches@gnu.org; Mon, 03 Jan 2022 19:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4XjB-0005Ek-VL for guix-patches@gnu.org; Mon, 03 Jan 2022 19:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52997] [PATCH] gnu: Add python-facebook-sdk. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Jan 2022 00:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52997 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52997@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164125623020081 (code B ref -1); Tue, 04 Jan 2022 00:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2022 00:30:30 +0000 Received: from localhost ([127.0.0.1]:36598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4Xig-0005Dp-Fq for submit@debbugs.gnu.org; Mon, 03 Jan 2022 19:30:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:48430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4Xie-0005De-7Q for submit@debbugs.gnu.org; Mon, 03 Jan 2022 19:30:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4Xid-0005N8-MS for guix-patches@gnu.org; Mon, 03 Jan 2022 19:30:27 -0500 Received: from latitanza.investici.org ([82.94.249.234]:56241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4Xib-0006oi-Ax for guix-patches@gnu.org; Mon, 03 Jan 2022 19:30:27 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4JSYRV5M0HzGp4N; Tue, 4 Jan 2022 00:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1641256214; bh=Ni2DzMgVBIP2jsc9kaseOataiXIohJihPvq5RsG0ZWk=; h=From:To:Cc:Subject:Date:From; b=GIE97ZpkG7WRE37ifNuzJo3Fs8q6DbLnuK/0fsAY5y5ojpq5Tb3z4g10BwchMXvv6 1YdzASUFo47WmZMpGkoFuCmJGoZVjGPYfTHrrWMvFSWWUJ/lkgjlKssjRFv3/HsJfr LqlHX1zMfDS+Er7XVA13L4o0ZRwru8/MV2CfMhhg= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4JSYRV4VPmzGp42; Tue, 4 Jan 2022 00:30:14 +0000 (UTC) Date: Tue, 4 Jan 2022 01:30:03 +0100 Message-Id: <20220104003003.861-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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: 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: 0c5a58e34d894b95d94c61aae0525a01fa18ecd2 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index bc7e21ca85..90193590dd 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6264,3 +6264,32 @@ (define-public python-mwparserfromhell Full documentation may be found at @uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}") (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)))