mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
37 lines
764 B
Text
37 lines
764 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer:
|
|
pkgname=py3-telethon
|
|
pkgver=1.27.0
|
|
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 build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
5c68944beabc533643288c201520e536dbbf4f5f3b7424ac03ae60d623a56f439df5459701d102ff9de09980fb08ad8af7c4241e5469da356c9104f6fd8a435c Telethon-v1.27.0.tar.gz
|
|
"
|