ayaports/testing/py3-pytelegrambotapi/APKBUILD

35 lines
943 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-pytelegrambotapi
pkgver=4.12.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="
cc039a8614aea4cd52e5b93f01a9b01bf8c4b57e4ec2acfb05b74b4dcfae7f9995ea4e6c1e52768e36cb0447f388cfab4cf66afcfdaec75459cfd516bda04f17 py3-pytelegrambotapi-4.12.0.tar.gz
"