mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
dev-python/tulir-telethon: add 1.37.0_alpha1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST tulir-telethon-1.35.0a1.tar.gz 590359 BLAKE2B e145d6c89f7c465c308994c3646fcdd2e99941c37b3ba0be170f8784b0d8e18b5b513fad9b52e8d706532e359649d3368759f6d4676438c200882902a8a5be83 SHA512 17199aea16ede2051583cac857bac65b23301273f64e157c29acca142c7fe4bb9d3ea8d147c121a095b7a30c0bb92eab83aee3946093168ca5096fa84c9d4167
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user