ayaports/backports/py3-twilio/APKBUILD

46 lines
993 B
Text
Raw Normal View History

2023-08-30 17:55:50 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
_pyname=twilio
pkgname="py3-$_pyname"
2023-11-26 15:32:16 +00:00
pkgver=8.10.2
pkgrel=0
2023-08-30 17:55:50 +00:00
arch="noarch"
pkgdesc="Twilio API client and TwiML generator"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends="
py3-requests
py3-mock
py3-flake8
py3-nose
py3-python-jwt
py3-twine
py3-tz
"
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
py3-installer
"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
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="
2023-11-26 15:32:16 +00:00
8fb1455d9af90fed8fb7dc4b8d4e12019f9171b47252ddd78adafa6ea1ef13884bdf4ed3e74129f26b0b13a60060824a18e038458b03d6861de0f025ded45023 py3-twilio-8.10.2.tar.gz
2023-08-30 17:55:50 +00:00
"