dev-python/tulir-telethon: add 1.29.0_alpha1

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2023-05-26 11:20:43 -04:00
parent 4e8ea73b66
commit 1d0adc14f6
2 changed files with 42 additions and 0 deletions

View File

@@ -1 +1,2 @@
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

View File

@@ -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
)