From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 08 04:13:24 2020 Received: (at submit) by debbugs.gnu.org; 8 Nov 2020 09:13:24 +0000 Received: from localhost ([127.0.0.1]:59721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbglI-0003F6-7U for submit@debbugs.gnu.org; Sun, 08 Nov 2020 04:13:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:40898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbglG-0003Ez-Qg for submit@debbugs.gnu.org; Sun, 08 Nov 2020 04:13:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbglG-0005Rv-JB for guix-patches@gnu.org; Sun, 08 Nov 2020 04:13:22 -0500 Received: from w4.tutanota.de ([81.3.6.165]:58914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbglE-0007CC-Nb for guix-patches@gnu.org; Sun, 08 Nov 2020 04:13:22 -0500 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id 88DE310602F3 for ; Sun, 8 Nov 2020 09:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604826796; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=7S4fG5l6CYe4BwR4EEv6xa7sWB2XSI5qjTy1/BAnBVA=; b=Rzmb60YyKMgJtF7WbEDWmukjsdXo7KmR0p7L0YSTdXAqPW7EGRNVrrDcJvvy2ani qmPFn0WOwq08qZfUt6lVm/6wOXHVETJEPaGxIjwDT+Bx10nei9CT9/fjNxoYBMl0ASp AupIcNpyzCoVTMAD3VL10P7NSwh9+JFiqtAV+zCjyuCoE4yE/OvK8Aams/wdxEywcIJ 61iDJ9ZL1IUACJtZdT80fFUHV8vgiO/GLEPxAjXWMAshEvXZLJQ1jev5Fl0rgmzq2xl VLLYpg3/qtGavjZcl2l1fsRhBzbx91AH2ifnZm/gTmCTNXNtK3+4yk2splDf3WuDYt1 jytMMmroCA== Date: Sun, 8 Nov 2020 10:13:16 +0100 (CET) From: Adam Kandur To: Guix Patches Message-ID: Subject: [PATCH] gnu: Add python-telethon. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_171552_1468634044.1604826796544" Received-SPF: pass client-ip=81.3.6.165; envelope-from=rndd@tuta.io; helo=w4.tutanota.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 04:13:16 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ------=_Part_171552_1468634044.1604826796544 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ------=_Part_171552_1468634044.1604826796544 Content-Type: text/x-patch; charset=us-ascii; name=0001-gnu-Add-python-telethon.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-Add-python-telethon.patch >From 40a037719317f943e4d311e6c03b1398feaffe7b Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 8 Nov 2020 12:10:32 +0300 Subject: [PATCH] gnu: Add python-telethon. * gnu/packages/python-xyz.scm (python-telethon): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5bbd547..d7dfaf2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22560,6 +22560,29 @@ a Python library to convert RELAX NG schemata in Compact syntax (rnc) to equivalent schemata in the XML-based default RELAX NG syntax.") (license license:expat))) +(define-public python-telethon + (package + (name "python-telethon") + (build-system python-build-system) + (propagated-inputs + `(("python-rsa" ,python-rsa) + ("python-pyaes" ,python-pyaes) + ("python-pytest" ,python-pytest))) + (version "v1.17.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LonamiWebs/Telethon") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0l9fhdrq576vllgi9aam45xzw5xi6jhgdv5zz8i4ygssdp7cm8jl")))) + (home-page "https://docs.telethon.dev") + (synopsis "Telethon is an asyncio Python 3 MTProto library to interact with Telegram's API as a user or through a bot account (bot API alternative).") + (description "Telegram is a popular messaging application. This library is meant to make it easy for you to write Python programs that can interact with Telegram. Think of it as a wrapper that has already done the heavy job for you, so you can focus on developing an application.") + (license license:expat))) + (define-public python-citeproc-py (package (name "python-citeproc-py") -- 2.28.0 ------=_Part_171552_1468634044.1604826796544-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 18 15:49:36 2020 Received: (at 44512-done) by debbugs.gnu.org; 18 Nov 2020 20:49:36 +0000 Received: from localhost ([127.0.0.1]:36612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfUOW-0002fR-7R for submit@debbugs.gnu.org; Wed, 18 Nov 2020 15:49:36 -0500 Received: from flashner.co.il ([178.62.234.194]:60494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfUOT-0002fD-Vn for 44512-done@debbugs.gnu.org; Wed, 18 Nov 2020 15:49:35 -0500 Received: from localhost (unknown [141.226.15.169]) by flashner.co.il (Postfix) with ESMTPSA id CB9D5402E0; Wed, 18 Nov 2020 20:49:27 +0000 (UTC) Date: Wed, 18 Nov 2020 22:48:38 +0200 From: Efraim Flashner To: Adam Kandur Subject: Re: [bug#44512] [PATCH] gnu: Add python-telethon. Message-ID: <20201118204838.GB2306@E5400> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44512-done Cc: 44512-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I made a couple of changes before pushing the patch On Sun, Nov 08, 2020 at 10:13:16AM +0100, Adam Kandur via Guix-patches via = wrote: >=20 >=20 > From 40a037719317f943e4d311e6c03b1398feaffe7b Mon Sep 17 00:00:00 2001 > From: Adam > Date: Sun, 8 Nov 2020 12:10:32 +0300 > Subject: [PATCH] gnu: Add python-telethon. >=20 > * gnu/packages/python-xyz.scm (python-telethon): New variable. > --- > gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) >=20 > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index 5bbd547..d7dfaf2 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -22560,6 +22560,29 @@ a Python library to convert RELAX NG schemata in= Compact syntax (rnc) to > equivalent schemata in the XML-based default RELAX NG syntax.") > (license license:expat))) > =20 > +(define-public python-telethon > + (package > + (name "python-telethon") We normally put this after the source, so I moved it there. > + (build-system python-build-system) > + (propagated-inputs > + `(("python-rsa" ,python-rsa) > + ("python-pyaes" ,python-pyaes) > + ("python-pytest" ,python-pytest))) pytest should be a native-input. I also added python-pytest-asyncio and python-pytest-trio to native-inputs. > + (version "v1.17.5") the 'v' isn't part of the version string. Instead the 'commit' as part of the source becomes '(commit (string-apend "v" version))' > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/LonamiWebs/Telethon") > + (commit version))) I see you noticed the pypi release didn't come with tests :) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0l9fhdrq576vllgi9aam45xzw5xi6jhgdv5zz8i4ygssdp7cm8jl"))= )) I replaced the 'check phase with a phase which runs (invoke "py.test" "-v") > + (home-page "https://docs.telethon.dev") > + (synopsis "Telethon is an asyncio Python 3 MTProto library to intera= ct with Telegram's API as a user or through a bot account (bot API alternat= ive).") > + (description "Telegram is a popular messaging application. This libr= ary is meant to make it easy for you to write Python programs that can inte= ract with Telegram. Think of it as a wrapper that has already done the heav= y job for you, so you can focus on developing an application.") > + (license license:expat))) I wasn't a fan of the synopsis or description, so I took the synopsis which came from 'guix import pypi pypi telethon' and I shortened the description to mostly just include that it interacts with Telegram. > + > (define-public python-citeproc-py > (package > (name "python-citeproc-py") > --=20 > 2.28.0 >=20 Thanks for the patch! Pushed. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl+1iKYACgkQQarn3Mo9 g1Hy0RAAuo87vK209ZKedUnlo24PwrIgcelvoChaEffS0aKWhFITRVpWvalcbyC5 0mj09HMHSXtb+stiSZehF1eUg3RQWX5+xwL29TtQMH8s26k/UFQQaB366v7LjrCD wpdKpeQO8BgF09HlEyrEZglBl1Af/XyT52Dfxs/TlxD4tNw9DbwJgnF89WuluAck hdv1V8kbRQ2ozYK+CUDm4C5fkIozN1mvXfqepJdcxBGfgi7Se86DyMuBh0S4rn8e Tfid32bnaoSA2OM/UrGFBTxebe78YlMG7CwqLKB+kDuCGQUK3sTbUn+Bi72/X6U1 2QqSo5zJvmq5b8WLnVr5OSi9wtY8QOTvOcu5oUXRw8ZYRfEesTdUzAb3TnC1MJZ6 3zv2p9baY54yRTWAI5VzE+MXh6UL/Njf2RmfMql7qp4dH+ci7bViVDrmfnh6QrQJ Kjy0MfTOImktTO2WX1LziTTir6zYyptbqOuHpA9cj8g9YyJtnYBkNKtHPLg95CRz KXD83rHOGKdvMFqlK2wSMbHONBGSj9aocBRy7D4ClklhIBzgkY2/TFOregaBv1Hu o6rLLfBO8t+/UlF0e9byeaR00Cw/CiglyvfjCsMNWwEs0ujJfO0WfOuChpEzhB42 MAzJJloG2HaE45h2VED8rkte41w0J721a2kJKovg/SsjZl6o4JU= =5zer -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU-- From unknown Thu Jun 19 14:04:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 17 Dec 2020 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator