mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 23:42:07 +01:00
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-telegram-bot
|
|
_pkgname=python-telegram-bot
|
|
pkgver=13.3
|
|
pkgrel=1
|
|
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 py3-decorator"
|
|
#checkdepends="pytest py-cffi py-cryptography py-future py-pathlib2"
|
|
options="!check" # few requirements-dev.txt packages missing in alpine
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/python-telegram-bot/python-telegram-bot/archive/v$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
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="87be26e676b956776d3f0a7813d2e54c84f579fcec794a36b3d409f3da032f07c3e1ff335334057f43e9e83184268a070cefd1a19ec3c5f7ba614954875fb968 py3-telegram-bot-13.3.tar.gz"
|