From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0444159CAD for ; Thu, 8 Aug 2024 22:58:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C45AE2AF7; Thu, 8 Aug 2024 22:58:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E63D7E2AF7 for ; Thu, 8 Aug 2024 22:58:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CCC83430A1 for ; Thu, 8 Aug 2024 22:58:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A39F11EBE for ; Thu, 8 Aug 2024 22:58:17 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1723156622.9494053e9f3f1aa548fcd400f1a73b3bfe15efeb.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/tulir-telethon/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/tulir-telethon/Manifest dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild X-VCS-Directories: dev-python/tulir-telethon/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 9494053e9f3f1aa548fcd400f1a73b3bfe15efeb X-VCS-Branch: dev Date: Thu, 8 Aug 2024 22:58:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c56126f-295b-4ea0-87bb-48378136626e X-Archives-Hash: bf95f5e43380e82412df39ea102fb273 commit: 9494053e9f3f1aa548fcd400f1a73b3bfe15efeb Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Aug 8 22:37:02 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Aug 8 22:37:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9494053e dev-python/tulir-telethon: add 1.37.0_alpha1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/tulir-telethon/Manifest | 1 + .../tulir-telethon-1.37.0_alpha1.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index d38d36ccc..f93a6b4a6 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1 +1,2 @@ DIST tulir-telethon-1.35.0a1.tar.gz 590359 BLAKE2B e145d6c89f7c465c308994c3646fcdd2e99941c37b3ba0be170f8784b0d8e18b5b513fad9b52e8d706532e359649d3368759f6d4676438c200882902a8a5be83 SHA512 17199aea16ede2051583cac857bac65b23301273f64e157c29acca142c7fe4bb9d3ea8d147c121a095b7a30c0bb92eab83aee3946093168ca5096fa84c9d4167 +DIST tulir-telethon-1.37.0_alpha1.gh.tar.gz 504857 BLAKE2B ce9bedc0ef7c6b1673ce62aa9f298c92d11aba5d0ea59eb47ab48b0529e9e8e60c9b86c0bdea2dfc9052a0458c7d8129d7a8f1f75e6bf16df45381177b04b4f8 SHA512 db704622d58677c4b7470850ad37129c227487caa3cf34d60a5fa81f91306a46f943bcecbbe8ca045c7f47c780b917ada3e9a1860aa82c99751a131fc847b15a diff --git a/dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild new file mode 100644 index 000000000..26823b794 --- /dev/null +++ b/dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +MY_PN="Telethon" +MY_PV="${PV/_alph/}" +DESCRIPTION="Full-featured Telegram client library for Python 3" +HOMEPAGE=" + https://pypi.org/project/tulir-telethon/ + https://github.com/tulir/Telethon/ +" +SRC_URI="https://github.com/tulir/${MY_PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cryptg[${PYTHON_USEDEP}] + dev-python/hachoir[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/PySocks[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] ) +" + +EPYTEST_DESELECT=( + tests/telethon/test_utils.py::test_private_get_extension +) + +distutils_enable_tests pytest + +python_test() { + epytest tests/telethon +}