mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
35 lines
763 B
Text
35 lines
763 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer:
|
|
pkgname=py3-telethon
|
|
pkgver=1.17.5
|
|
pkgrel=2
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="c86e4584436e76a58d68df72a02397b95ab2194430ee96b5850914b4253aaff72e1e1b5b0ffad57a0d2d3a93627c88de33eb553f2f1237d7003797ae4e17ddb5 Telethon-v1.17.5.tar.gz"
|