Subject: bug#52995: closed (Re: [bug#52995] [PATCH] gnu: Add python-tweepy.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 01 Sep 2023 22:03:02 +0000

Your bug report

#52995: [PATCH] gnu: Add python-tweepy.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52995: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52995
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#52995] [PATCH] gnu: Add python-tweepy.
From: Vagrant Cascadian <[email-masked]>
To: Giacomo Leidi <[email-masked]>, [email-masked]
Date: Fri, 01 Sep 2023 15:01:45 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2022-01-04, Giacomo Leidi wrote:
> +(define-public python-tweepy
> +  (package
> +    (name "python-tweepy")
> +    (version "4.4.0")

This was merged as:

13b905bf28ec6309043bd61c5a92744b13352021 gnu: Add python-tweepy.

Marking as done.

live well,
  vagrant

Subject: [PATCH] gnu: Add python-tweepy.
From: Giacomo Leidi <[email-masked]>
To: [email-masked]
Cc: Giacomo Leidi <[email-masked]>
Date: Tue, 4 Jan 2022 01:12:10 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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 <[email-masked]>
 ;;; Copyright © 2020, 2021 Vinicius Monego <[email-masked]>
 ;;; Copyright © 2020 Konrad Hinsen <[email-masked]>
-;;; Copyright © 2020 Giacomo Leidi <[email-masked]>
+;;; Copyright © 2020, 2022 Giacomo Leidi <[email-masked]>
 ;;; Copyright © 2021 Ekaitz Zarraga <[email-masked]>
 ;;; Copyright © 2021 Greg Hogan <[email-masked]>
 ;;; Copyright © 2021 Maxime Devos <[email-masked]>
@@ -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