diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index 399459ebe0..ba7c4d83c0 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1,2 +1,3 @@ DIST tulir-telethon-1.28.0_alpha9.gh.tar.gz 485954 BLAKE2B 2658d9b8e64223cc7daddd531ca9c5bdec3cb0edf27949b227a8c34d3a1f6546b8136b845cc1822e643b83046742015890d405ca40f461d68aa9410fb25703e0 SHA512 7e2a375be30700b13aeae088385d19344288895c95d2262fb8764f66ffe7d145d6ade4c9e31313e7df04a5c684ae7ee0571318b6eedd519aacaf77a61037381a DIST tulir-telethon-1.29.0_alpha1.gh.tar.gz 490598 BLAKE2B d3ff45d6a18ac5673be18ff121e9151be4db8790f8ceff6ab80eb3ede089f67c336305e70340bac13609c99c53d44da7d684c510cf2055346184eb817e1fbe1e SHA512 01e8e85a485cdba047c340712a1ceaf1dec56bff936f7f76b5b709e32604c5bfd8e71cd4a30c6f6df47f5218f4bc3d96df01e36ec1608f3f76026543c1597193 +DIST tulir-telethon-1.29.0_alpha2.gh.tar.gz 491082 BLAKE2B d965e4e6116ccff86cd6a0f561bd25a0af9bee85c314cae358f47eef30e17345c1b770088875717699b584649652a136be7ccc7da370434aa545d7620a2b9ac9 SHA512 f3e97bbc1bf505866661965206f65f25224508d623bc5cffefea5743ba21c2b8c94afd60c7da2a7854e86cde52557a3609fe22c9fb888ea52ed286d555d3fdbf diff --git a/dev-python/tulir-telethon/tulir-telethon-1.29.0_alpha2.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.29.0_alpha2.ebuild new file mode 100644 index 0000000000..afaba4efa4 --- /dev/null +++ b/dev-python/tulir-telethon/tulir-telethon-1.29.0_alpha2.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 +)