aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-telegram-bot/APKBUILD
blob: a30f6903c76beadab2ec2d28e7d3262d640e4b2c (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
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"
	python setup.py build
}

package() {
	cd "$_builddir"
	python 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"