From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ADyWDzWR02GRyAAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 01:13:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oM4qDDWR02Ez+AAAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 01:13:41 +0100 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 B85961016B for ; Tue, 4 Jan 2022 01:13:40 +0100 (CET) Received: from localhost ([::1]:45562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4XSN-0003VM-AS for larch@yhetil.org; Mon, 03 Jan 2022 19:13:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4XRn-0003VD-MU for guix-patches@gnu.org; Mon, 03 Jan 2022 19:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4XRm-0004CI-Lm for guix-patches@gnu.org; Mon, 03 Jan 2022 19:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4XRm-0004j2-HQ for guix-patches@gnu.org; Mon, 03 Jan 2022 19:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52995] [PATCH] gnu: Add python-tweepy. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Jan 2022 00:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52995@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164125517118143 (code B ref -1); Tue, 04 Jan 2022 00:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2022 00:12:51 +0000 Received: from localhost ([127.0.0.1]:36570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4XRT-0004iQ-Gi for submit@debbugs.gnu.org; Mon, 03 Jan 2022 19:12:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:47220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4XRR-0004iH-HA for submit@debbugs.gnu.org; Mon, 03 Jan 2022 19:12:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4XRR-0003Uv-Cu for guix-patches@gnu.org; Mon, 03 Jan 2022 19:12:41 -0500 Received: from latitanza.investici.org ([82.94.249.234]:48273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4XRO-0004BC-Rp for guix-patches@gnu.org; Mon, 03 Jan 2022 19:12:41 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4JSY353dqBzGp42; Tue, 4 Jan 2022 00:12:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1641255153; bh=yVrcoCutHpoBkRCC+LmZs5I5NFMxVUfpox2nl7bGbSc=; h=From:To:Cc:Subject:Date:From; b=mqOAl1ciTcTxoAFgI4ae04PIvg5lmIZnkr/+SxQDtt85yKUvJu1RsUt3a1ho9coCg 1A3tY4AsXXwGzGwV0G9yUx6S3ugxQjegJE60NVMZzjwKgLlAR6jmUjAA2STcI3hsCu CP0naWRJ9o1TPqnp1l6p5flpI2WmZjhFrrR4w3RA= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4JSY352nmVzGp40; Tue, 4 Jan 2022 00:12:33 +0000 (UTC) Date: Tue, 4 Jan 2022 01:12:10 +0100 Message-Id: <20220104001210.21299-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641255221; h=from:from:sender:sender:reply-to: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yVrcoCutHpoBkRCC+LmZs5I5NFMxVUfpox2nl7bGbSc=; b=prJh9Yva9OqjsvwpXwGZK+PhRGdYKX+/jyU0WRPcGz6XfFeSkbAnOB6gMBvqWSriEr24Bg z8WsZACAN1RWKy/oOEAigHuea2u0W8WDuV3LriqDRyMW14Kib12ieBK2RcPFCEQ4J58Pf0 LaRa8I5uBwSHBUuWewg33VdJrQf0FRXulNElZJdW1WLROYSG8N1yXsEhyaAICgm/qxJ1rk mxiM2/P+QDkenA38HXVU/fSQ6R2UcWW0G8LZWrY4WzCz/HNGaHLrhTf86483Nx2whjuSpc 8ilBFEv7TwvQRC0ecOoC62E8lju2JIXSGSlbKBm3YCWXYDdf5WyjqY5B+SSoNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641255221; a=rsa-sha256; cv=none; b=Nh5/9YEffeX7BuJZzPgif5yEd/UDHpQW0yva+MAL5mn4vrRS0JZDa/9PG2N8XA9FLUyfSF rMylYVgmasqp6LcI8eBcJMENrCoitF1/ukMYwBO4Cif8k4L0X2u0v03HP86YHDO0O2qqvo UxJV0/DE6vKvV6LOPHDc7STrHHyAmJ6U5+apcERWV9pQuR1gKPjcEqIQ0+0mxFjks7faCZ E4lClcS0dTee30BfZ4Zi/pri4ujiSmh+h39tRDSzOedS/hjLwzPjstcA2dl94FpDVriGvs H5HuwXBxu01iuhbONpmwokCvWSgRz3YsygV4ORgAeAaO2tl8hsjhN7HjNENWSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=mqOAl1ci; 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: -5.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=mqOAl1ci; 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: B85961016B X-Spam-Score: -5.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: rJmy6rH66u4q * gnu/packages/python-web.scm (python-tweepy): New variable. --- gnu/packages/python-web.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index bc7e21ca85..00598e8307 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -39,7 +39,7 @@ ;;; Copyright © 2020 Edouard Klein ;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2020 Konrad Hinsen -;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2020, 2022 Giacomo Leidi ;;; Copyright © 2021 Ekaitz Zarraga ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Maxime Devos @@ -6264,3 +6264,36 @@ (define-public python-mwparserfromhell Full documentation may be found at @uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}") (license license:expat))) + +(define-public python-tweepy + (package + (name "python-tweepy") + (version "4.4.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/tweepy/tweepy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jl3j20iqvzqqw5q5ldval5wrc2pdx94zff3b6b87j51yjx3qjhr")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest" "discover" "tests"))))))) + (propagated-inputs + (list python-aiohttp python-requests python-requests-oauthlib)) + (native-inputs + (list python-vcrpy)) + (home-page "https://www.tweepy.org/") + (synopsis "Twitter library for Python") + (description "This package provides @code{Tweepy}, an easy-to-use Python +library for accessing the Twitter API.") + (license license:expat))) base-commit: 01ec5efff7cf95cae69493bd4ccfdd21a38770ae -- 2.34.0