# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-telegram-bot _pkgname=python-telegram-bot pkgver=12.5.1 pkgrel=0 pkgdesc="A Python wrapper around the Telegram Bot API" url="https://github.com/python-telegram-bot/python-telegram-bot" arch="noarch" license="LGPL-3.0-or-later" depends="py3-future py3-certifi py3-tornado py3-cryptography" #checkdepends="pytest py-cffi py-cryptography py-future py-pathlib2" options="!check" # few requirements-dev.txt packages missing in alpine makedepends="py3-setuptools" source="https://github.com/python-telegram-bot/python-telegram-bot/releases/download/v$pkgver/python-telegram-bot-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-telegram-bot" # Backwards compatibility provides="py-telegram-bot=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="efb2b6aa69894217bd757334fc75c1aeaf501f603f94dff99d65a33cdffd59568348db4b77f878648d4f5ba34b4e2bca209672ae202594a2b46d5ca4f8d34b47 python-telegram-bot-12.5.1.tar.gz"