35 lines
943 B
Text
35 lines
943 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=py3-pytelegrambotapi
|
|
pkgver=4.14.0
|
|
pkgrel=0
|
|
arch="noarch"
|
|
pkgdesc="A simple, but extensible Python implementation for the Telegram Bot API."
|
|
url="https://pypi.org/project/pyTelegramBotAPI/"
|
|
license="GPL-2.0-only"
|
|
makedepends="
|
|
py3-setuptools
|
|
py3-gpep517
|
|
py3-installer
|
|
py3-wheel
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/eternnoir/pyTelegramBotAPI/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir"/pyTelegramBotAPI-$pkgver
|
|
options="!check" # No testsuite
|
|
subpackages="$pkgname-pyc"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
2008f1f2f20bc34b77bbd106d949d9bbcb5c0aa5ffd359911e5982daaf5993187d09d702d566307e2583422c0a17a92d8e9bde88c5ea07f491bdd943fa195e40 py3-pytelegrambotapi-4.14.0.tar.gz
|
|
"
|