commit: 80f1439237d9176e2bfc6035f0e413c4e8a46d87 Author: Julien Roy <julien <AT> jroy <DOT> ca> AuthorDate: Fri Nov 17 20:20:24 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Fri Nov 17 20:20:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80f14392
dev-python/tulir-telethon: add 1.33.0_alpha1 Signed-off-by: Julien Roy <julien <AT> jroy.ca> dev-python/tulir-telethon/Manifest | 1 + .../tulir-telethon-1.33.0_alpha1.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index 44f62db6ad..767c7d0a9b 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1,2 +1,3 @@ DIST tulir-telethon-1.32.0_alpha2.gh.tar.gz 494857 BLAKE2B f39a8159716a5fd0f7f9d94bb6bdf9674fba678210f7c9dceb2bf7b90ddae5ee4eeade3f896dcb590f3e7f4985d18f72ea9fed35f59bc13680c1cf1c40fec890 SHA512 8b02b6f563844674fcf9449419cd68b646a10d7572534c5696501b1d043bf3b2c0d5969ca08c38664bd43ebefc1f99607649ec62180d6fca324bf799274e2873 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 diff --git a/dev-python/tulir-telethon/tulir-telethon-1.33.0_alpha1.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.33.0_alpha1.ebuild new file mode 100644 index 0000000000..afaba4efa4 --- /dev/null +++ b/dev-python/tulir-telethon/tulir-telethon-1.33.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 +)