# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py-telegram-bot _pkgname=${pkgname/py/python} pkgver=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="LGPLv3" depends="py-futures" depends_dev="" makedepends="$depends_dev py-setuptools" install="" subpackages="" source="$pkgname-$pkgver.zip::https://github.com/$_pkgname/$_pkgname/archive/v$pkgver.zip" _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" python2 setup.py build } package() { cd "$_builddir" python2 setup.py install --root="$pkgdir" --optimize=1 } md5sums="a6a4bfe32b628a9c757288487521ac20 py-telegram-bot-5.1.zip" sha256sums="ac5040ca277ace47d9f21c00cbc87eb557b535760f940d5d0052938edb705969 py-telegram-bot-5.1.zip" sha512sums="5e9bef2018e974e5740e9d381f41de4ab6eecfc0cebfc7f0c8c6e69423d7b41117431b36af772d8e91c6d6e1db9811e9bd8970aaba15d83b792590bef7f64d0c py-telegram-bot-5.1.zip"