* [bug#44601] [PATCH] gnu: Add python-pytelegrambotapi.
@ 2020-11-12 22:28 Adam Kandur via Guix-patches via
2020-11-29 19:47 ` bug#44601: " Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Adam Kandur via Guix-patches via @ 2020-11-12 22:28 UTC (permalink / raw)
To: 44601
[-- Attachment #1: Type: text/plain, Size: 2 bytes --]
[-- Attachment #2: 0001-gnu-Add-python-pytelegrambotapi.patch --]
[-- Type: text/x-patch, Size: 1651 bytes --]
From 7b1ac985a886d26b7265af7eb835217c1cf72090 Mon Sep 17 00:00:00 2001
From: Adam <rndd@tuta.io>
Date: Fri, 13 Nov 2020 01:27:08 +0300
Subject: [PATCH] gnu: Add python-pytelegrambotapi.
* gnu/packages/python-xyz.scm (python-pytelegrambotapi): New variable.
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e5b8db0..db6c7f5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -272,6 +272,31 @@ threads.")
task of adding retry behavior to just about anything.")
(license license:asl2.0)))
+(define-public python-pytelegrambotapi
+ (package
+ (name "python-pytelegrambotapi")
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-py" ,python-py)
+ ("python-wheel" ,python-wheel)
+ ("python-requests" ,python-requests)
+ ("python-six" ,python-six)))
+ (version "3.7.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eternnoir/pyTelegramBotAPI")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0r6xq56sr8ifqscjm2gljjr7hivfm5w798ym4gv468fwsf3x49ms"))))
+ (home-page "https://github.com/eternnoir/pyTelegramBotAPI")
+ (synopsis "Python Telegram bot api.")
+ (description "A simple, but extensible Python implementation for the Telegram Bot API.")
+ (license license:gpl2)))
+
(define-public python-colorlog
(package
(name "python-colorlog")
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#44601: [PATCH] gnu: Add python-pytelegrambotapi.
2020-11-12 22:28 [bug#44601] [PATCH] gnu: Add python-pytelegrambotapi Adam Kandur via Guix-patches via
@ 2020-11-29 19:47 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-11-29 19:47 UTC (permalink / raw)
To: Adam Kandur; +Cc: 44601-done
[-- Attachment #1: Type: text/plain, Size: 376 bytes --]
I adjusted the description slightly, removed most of the propagated
inputs and put pytest in native-inputs and made the test suite run.
Thanks! Patch pushed.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-29 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-12 22:28 [bug#44601] [PATCH] gnu: Add python-pytelegrambotapi Adam Kandur via Guix-patches via
2020-11-29 19:47 ` bug#44601: " Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).