aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-telegram-bot/APKBUILD
blob: 9d60d6158faea346461ea4f28220fd98351f9ec9 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-telegram-bot
_pkgname=python-telegram-bot
pkgver=12.2.0
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="6df32e212816c1b77e4502fa796542d1ff2b6ac891ce09f31ce27807a9fe9eb62b0d7e417ab743c1ada9b479557e52be30b3a692a14b3732c77cee4f1d87f895  python-telegram-bot-12.2.0.tar.gz"