testing/py3-pytelegrambotapi: move from user
This commit is contained in:
parent
90cb0ee11d
commit
5cad1665a6
2 changed files with 35 additions and 22 deletions
35
testing/py3-pytelegrambotapi/APKBUILD
Normal file
35
testing/py3-pytelegrambotapi/APKBUILD
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# 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
|
||||||
|
"
|
|
@ -1,22 +0,0 @@
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
|
|
||||||
pkgname=py3-pytelegrambotapi
|
|
||||||
pkgver=4.10.0
|
|
||||||
pkgrel=0
|
|
||||||
arch='noarch'
|
|
||||||
pkgdesc="A simple, but extensible Python implementation for the Telegram Bot API."
|
|
||||||
url="https://pypi.org/project/pyTelegramBotAPI/"
|
|
||||||
license="GPL2"
|
|
||||||
depends=python3
|
|
||||||
makedepends="python3 py3-setuptools"
|
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/eternnoir/pyTelegramBotAPI/archive/$pkgver.tar.gz"
|
|
||||||
builddir="$srcdir"/pyTelegramBotAPI-$pkgver
|
|
||||||
options="!check"
|
|
||||||
|
|
||||||
package() {
|
|
||||||
python3 setup.py install --root=$pkgdir/
|
|
||||||
}
|
|
||||||
sha512sums="
|
|
||||||
ba8a4251357fe24a0aae29cdf791a1e71667bbb0eda6f214211f9cd24dcf9074d4e0d5af1398992d8e6b76f573fa184e6e35322286de9aa0a333296257535fcb py3-pytelegrambotapi-4.10.0.tar.gz
|
|
||||||
"
|
|
Loading…
Reference in a new issue