blob: b5baf7e49eb6f3dd2843578c9db01e5c23e4f394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer:
pkgname=py3-telethon
pkgver=1.26.1
pkgrel=0
pkgdesc="Full-featured Telegram client library"
url="https://docs.telethon.dev/"
arch="noarch"
license="MIT"
depends="
py3-pyaes
py3-rsa
python3
"
makedepends="py3-setuptools"
checkdepends="
py3-pytest
py3-pytest-asyncio
"
source="https://github.com/LonamiWebs/Telethon/archive/v$pkgver/Telethon-v$pkgver.tar.gz"
builddir="$srcdir/Telethon-$pkgver"
build() {
python3 setup.py sdist
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
a2d0ee1eed047b4dc7cd7482e5953e0b0982ccdbb0453157575e78225be937f5f9c5e61f2f88f67cf0019959633cb10e03411a954ba92522a19f179581da4c86 Telethon-v1.26.1.tar.gz
"
|