From a19b453a6c1ac6e215e4095d984314880fcfc7c8 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Sat, 30 Dec 2023 12:36:17 -0500 Subject: [PATCH] dev-python/tulir-telethon: add 1.34.0_alpha1 Signed-off-by: Julien Roy --- dev-python/tulir-telethon/Manifest | 1 + .../tulir-telethon-1.34.0_alpha1.ebuild | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha1.ebuild diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index 45c121e61b..d6f5074837 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1,2 +1,3 @@ DIST tulir-telethon-1.32.0_alpha3.gh.tar.gz 495988 BLAKE2B ca2c7f64067369ad9b2424ef00d2697b1a836de7e4709ffeae4cd9b1bfaef50c998ffc49501830ad7e1564fada4ec804abf0b8a7f27f0659398f9112514ec837 SHA512 1a4f17d22f10a04c862433ce474b946c835ee954e4f5158fdc2c81f510cf5dd1041544b0df44f1c61d9dfcdfb27c023b213552230153e3a3f4ce5f1512094f9b DIST tulir-telethon-1.33.0_alpha1.gh.tar.gz 496284 BLAKE2B 6bba90dd4be4b6aeb2f1a4bd9bd4dc59740504cf2ef75606a5df861df00292d9f935c29a397c98bc6c83cfad80c5413700ca5cc131896a5710748848e01a7b78 SHA512 b8eb5ff95f2450ab7d29af6d9ccea63f562b14d984aedc946b82f80a4d68338133767a81432da10a6b6d9aa9c26ac431ad33d73a5a5a9b733702d37747b49a10 +DIST tulir-telethon-1.34.0_alpha1.gh.tar.gz 497399 BLAKE2B b18c04c94e69abdda463747867b64a2925cab9b2bbf9813dbeca752c24ed4381433ede530610975f90441db7530119c514b1b4a65521835042ae754ffb25502d SHA512 63bc95061075a3cb92fd0f70c5b12a4676bbb030ee9acaa4f0484ce9d4afad57c33f7c4b9397e05712bc11aab0b54786327c595762677fcb01832002b2d68711 diff --git a/dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha1.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha1.ebuild new file mode 100644 index 0000000000..afaba4efa4 --- /dev/null +++ b/dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +MY_PV="${PV/_alph/}" +DESCRIPTION="Pure Python 3 MTProto API Telegram client library, for bots too!" +HOMEPAGE="https://github.com/tulir/Telethon/" +SRC_URI="https://github.com/tulir/Telethon/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/Telethon-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +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}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/readthedocs/quick_references/test_client_reference.py::test_all_methods_present +)