aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-telegram-bot/APKBUILD
blob: ddeab6cca78cbe933806dc725582a8cfbbe83cd3 (plain) (blame)
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=3.3
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="cfc360e1bea991ea6aec50d0a57f4b73  py-telegram-bot-3.3.zip"
sha256sums="cc39bceb17c343758bcc9649e7931e36388bac6b2a3fd181841c0e4403c4dd60  py-telegram-bot-3.3.zip"
sha512sums="b827905d2e58491ef5566dc4758be32f33c1ccfc637c279725504d26af1628c07cb654f6aa2a067336c868b9cfe8f7a646725b9075d261d718be1b3be2968a29  py-telegram-bot-3.3.zip"